Skip to content

Commit

Permalink
refactor: improve write_env functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Aug 29, 2024
1 parent 0f060dd commit 1c0b94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/write_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ impl WriteEnv {
print!("Enter the variable name: ");
io::stdout().flush().expect("Failed to flush buffer");
io::stdin().read_line(&mut key).expect("Failed to read variable name");
let key = key.trim().to_string().to_uppercase();

let key = key.trim().to_string().to_uppercase();
let value = prompt_password("Enter the variable value: ").unwrap();

Self { key, value }
Expand Down

0 comments on commit 1c0b94b

Please sign in to comment.