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:
Lux Aliaga 2023-08-26 21:36:10 -04:00
parent 9589fcb674
commit 343c97e92c
1 changed files with 1 additions and 1 deletions

View File

@ -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(),
},