Fix differing amount of newlines from subprocesses influences output
This commit is contained in:
parent
e813ab9e3a
commit
e2d3e5597b
1 changed files with 2 additions and 1 deletions
|
@ -169,7 +169,8 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for versionstring in result.into_iter().map(|handle| handle.join()) {
|
for versionstring in result.into_iter().map(|handle| handle.join()) {
|
||||||
print!("{}", versionstring);
|
// The amount of newlines may differ depending on the subprocess
|
||||||
|
println!("{}", versionstring.trim());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue