We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c49fd2 commit c69d26fCopy full SHA for c69d26f
1 file changed
src/child.rs
@@ -354,14 +354,10 @@ impl StderrThread {
354
.lines()
355
.map_while(Result::ok)
356
.for_each(|line| {
357
- if !capture {
358
- info!("{line}");
359
- } else {
360
- if !output.is_empty() {
361
- output.push('\n');
362
- }
363
- output.push_str(&line);
+ if !output.is_empty() {
+ output.push('\n');
364
}
+ output.push_str(&line);
365
});
366
return output;
367
0 commit comments