Fix clippy lints (#4262)

* Fix clippy lints

* Fix clippy lints

* Fix clippy lints
This commit is contained in:
JT
2022-01-18 07:33:28 -05:00
committed by GitHub
parent e6c09f2dfc
commit f562a4526c
11 changed files with 16 additions and 17 deletions

View File

@ -91,10 +91,10 @@ pub fn run_script_file(
fn default_prompt_string(cwd: &str) -> String {
format!(
"{}{}{}{}{}{}> ",
Color::Green.bold().prefix().to_string(),
Color::Green.bold().prefix(),
cwd,
nu_ansi_term::ansi::RESET,
Color::Cyan.bold().prefix().to_string(),
Color::Cyan.bold().prefix(),
current_branch(),
nu_ansi_term::ansi::RESET
)