Print path normally to avoid forward slash escaping

This commit is contained in:
Michael Vines 2019-06-08 19:22:07 -07:00
parent 0595109f98
commit 2fd8d57504
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pub fn parse_args(matches: &ArgMatches<'_>) -> Result<WalletConfig, Box<dyn erro
path.extend(&[".config", "solana", "id.json"]);
if !path.exists() {
gen_keypair_file(path.to_str().unwrap())?;
println!("New keypair generated at: {:?}", path.to_str().unwrap());
println!("New keypair generated at: {}", path.to_str().unwrap());
}
path.to_str().unwrap()