From 9ea694d3d66b32ae5ac0063d4147d3f6627bfcac Mon Sep 17 00:00:00 2001 From: Mike Lloyd Date: Fri, 8 Mar 2024 13:18:44 -0800 Subject: [PATCH] Remove trailing newline when getting secret --- src/command/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/handlers.rs b/src/command/handlers.rs index 21ffcf1..fa24ba4 100644 --- a/src/command/handlers.rs +++ b/src/command/handlers.rs @@ -106,7 +106,7 @@ pub async fn handle_get(config_dir: &Path, name: String, json: bool) -> Result<( if json { println!("{}", cleartext.to_json()?) } else { - println!("{}", cleartext.value) + print!("{}", cleartext.value) } Ok(())