Skip to content

Commit

Permalink
Capitalised "n" to reflect default option (#963)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Hollander <joshua.hollander@diversus.com.au>
Co-authored-by: Gal Schlezinger <gal@spitfire.co.il>
  • Loading branch information
3 people committed Jun 30, 2023
1 parent 7da5c33 commit 3d9f3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/use.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ fn should_install_interactively(requested_version: &UserVersion) -> bool {
requested_version.to_string().italic()
);
eprintln!("{}", error_message.red());
let do_you_want = format!("Do you want to install it? {} [y/n]:", "answer".bold());
let do_you_want = format!("Do you want to install it? {} [y/N]:", "answer".bold());
eprint!("{} ", do_you_want.yellow());
std::io::stdout().flush().unwrap();
let mut s = String::new();
Expand Down

1 comment on commit 3d9f3a5

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linux Benchmarks

benchmark current value last value diff trend
fnm_basic/median 9.55ms 6.83ms +2.72ms

fnm_basic/max 17.57ms 7.83ms +9.74ms

fnm_basic/mean 9.83ms 6.85ms +2.98ms

fnm_basic/min 8.52ms 6.7ms +1.82ms

fnm_basic/stddev 1.15ms 0.12ms +1.04ms

binary size 6948kb 6948kb 0

Please sign in to comment.