We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6f86da commit 59ca702Copy full SHA for 59ca702
1 file changed
src/utils/keyring.rs
@@ -65,7 +65,7 @@ pub fn get_password(config: &Config) -> anyhow::Result<String> {
65
bail!("Command failed");
66
}
67
let password = String::from_utf8(output.stdout)?;
68
- return Ok(password);
+ return Ok(password.trim_end_matches('\n').to_string());
69
70
71
if let Some(password) = &config.primary_key_password {
0 commit comments