aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-14 17:59:26 +0000
committerAleksey Kladov <[email protected]>2020-02-14 17:59:26 +0000
commitcd956a191f8cb32573be7a78139ad322051e949e (patch)
tree2873416113e9ad440350800b8ea4269fefc09e7a /xtask/src
parent3f675179e5566514fde2730c0a8b47195a688d6d (diff)
Trim output
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/not_bash.rs2
1 files changed, 1 insertions, 1 deletions
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<String> {
113 bail!("{}", output.status) 113 bail!("{}", output.status)
114 } 114 }
115 115
116 Ok(stdout) 116 Ok(stdout.trim().to_string())
117} 117}
118 118
119// FIXME: some real shell lexing here 119// FIXME: some real shell lexing here