mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:24:58 +02:00
Fix clippy lints (#4262)
* Fix clippy lints * Fix clippy lints * Fix clippy lints
This commit is contained in:
@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user