From d0559ca43ffe11b6368ed3c671f096a9e0ee7776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jostein=20Kj=C3=B8nigsen?= Date: Mon, 25 Oct 2021 23:51:01 +0200 Subject: [PATCH] Fix whitespace issues when using paths-file. --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 2c18f03f..554eb2c5 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -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::>()); }