aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/cmd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/cmd.rs')
-rw-r--r--xtask/src/cmd.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/cmd.rs b/xtask/src/cmd.rs
index 8e08a929b..37497fb74 100644
--- a/xtask/src/cmd.rs
+++ b/xtask/src/cmd.rs
@@ -37,6 +37,7 @@ pub fn run(cmdline: &str, dir: &str) -> Result<()> {
37pub fn run_with_output(cmdline: &str, dir: &str) -> Result<String> { 37pub fn run_with_output(cmdline: &str, dir: &str) -> Result<String> {
38 let output = do_run(cmdline, dir, &mut |_| {})?; 38 let output = do_run(cmdline, dir, &mut |_| {})?;
39 let stdout = String::from_utf8(output.stdout)?; 39 let stdout = String::from_utf8(output.stdout)?;
40 let stdout = stdout.trim().to_string();
40 Ok(stdout) 41 Ok(stdout)
41} 42}
42 43