Skip to content

Commit d28f2e1

Browse files
committed
Improve formatting
1 parent 1c96f7c commit d28f2e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler-cli/src/hex/auth.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<'runtime> HexAuthentication<'runtime> {
7171
})?;
7272

7373
crate::fs::write(&path, &format!("{name}\n{encrypted}"))?;
74-
println!("Encrypted Hex API key written to {path}");
74+
println!("\nEncrypted Hex API key written to {path}");
7575

7676
Ok(UnencryptedApiKey {
7777
unencrypted: api_key,
@@ -92,15 +92,14 @@ impl<'runtime> HexAuthentication<'runtime> {
9292
"
9393
Please enter a new unique password. This will be used to locally
9494
encrypt your Hex API key.
95-
9695
It should be at least {required_length} characters long.
9796
"
9897
);
9998

10099
loop {
101100
let password = cli::ask_password(LOCAL_PASS_PROMPT)?;
102101
if password.chars().count() < required_length {
103-
println!("\nPlease use a password at least {required_length} characters long.")
102+
println!("\nPlease use a password at least {required_length} characters long.\n")
104103
} else {
105104
self.local_password = Some(password.clone());
106105
return Ok(password);

0 commit comments

Comments
 (0)