Skip to content

Commit e1f8ee7

Browse files
committed
Add newline after source command
1 parent 753e416 commit e1f8ee7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/exec.rs

+3
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,9 @@ impl ShellContext {
999999
};
10001000

10011001
let shell_file = crate::parser::parse_shell(source).unwrap_or_else(|_| todo!());
1002+
if let Some(ref output_stream) = config.output_stream {
1003+
writeln!(output_stream.lock()).unwrap();
1004+
}
10021005
self.exec_script_entries(&shell_file, config)
10031006
}
10041007
#[cfg(unix)]

0 commit comments

Comments
 (0)