extra newline in error message removed

This commit is contained in:
ascendforever 2023-10-25 13:19:16 -04:00
parent 74f3db51c9
commit 7253c8c615

View file

@ -199,6 +199,7 @@ fn assert_all_same_device(paths: &[PathBuf]) -> Result<(), String> {
s.push_str(&shlex::quote(&path.to_string_lossy()));
s.push_str("\n");
}
s.pop(); // remove last newline
Err(s)
}
}