extra newline in error message removed
This commit is contained in:
parent
74f3db51c9
commit
7253c8c615
1 changed files with 1 additions and 0 deletions
|
@ -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(&shlex::quote(&path.to_string_lossy()));
|
||||||
s.push_str("\n");
|
s.push_str("\n");
|
||||||
}
|
}
|
||||||
|
s.pop(); // remove last newline
|
||||||
Err(s)
|
Err(s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue