From cd956a191f8cb32573be7a78139ad322051e949e Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 14 Feb 2020 18:59:26 +0100 Subject: Trim output --- xtask/src/not_bash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask') diff --git a/xtask/src/not_bash.rs b/xtask/src/not_bash.rs index 027571b62..1a7cb7114 100644 --- a/xtask/src/not_bash.rs +++ b/xtask/src/not_bash.rs @@ -113,7 +113,7 @@ fn run_process_inner(cmd: &str, echo: bool) -> Result { bail!("{}", output.status) } - Ok(stdout) + Ok(stdout.trim().to_string()) } // FIXME: some real shell lexing here -- cgit v1.2.3