mirror of https://git.sr.ht/~nixgoat/vento
item: Remove extra whitespace on Take message
If you were to take a file with display_dir enabled and the slot flag, it would add an additional whitespace. Remove it.
This commit is contained in:
parent
9589fcb674
commit
343c97e92c
|
@ -92,7 +92,7 @@ pub fn take(file: &String, slot: &str, message: bool, display_slot: bool) -> Res
|
|||
"Took".green(),
|
||||
&filename.bold(),
|
||||
match parse_config()?.display_dir {
|
||||
true => format! {"{} {} ",
|
||||
true => format! {"{} {}",
|
||||
" from".green(),
|
||||
&sourcelocation.to_str().unwrap(),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue