Merge pull request #1457 from josteink/bugfix-whitespace

Fix whitespace issues when using paths-file.
This commit is contained in:
Max Brunsfeld 2021-10-25 16:37:13 -07:00 committed by GitHub
commit 67de9435b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -544,7 +544,7 @@ fn collect_paths<'a>(
return Ok(fs::read_to_string(paths_file)
.with_context(|| format!("Failed to read paths file {}", paths_file))?
.trim()
.split_ascii_whitespace()
.lines()
.map(String::from)
.collect::<Vec<_>>());
}