diff options
author | Aleksey Kladov <[email protected]> | 2020-02-14 17:59:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-14 17:59:26 +0000 |
commit | cd956a191f8cb32573be7a78139ad322051e949e (patch) | |
tree | 2873416113e9ad440350800b8ea4269fefc09e7a /xtask | |
parent | 3f675179e5566514fde2730c0a8b47195a688d6d (diff) |
Trim output
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/not_bash.rs | 2 |
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 |