1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: do not trim space from output of exec

This commit is contained in:
Adam Stankiewicz
2020-06-14 01:41:47 +02:00
committed by GitHub
parent 45a3d8474e
commit 471c931ada
5 changed files with 6 additions and 5 deletions

View File

@@ -258,7 +258,7 @@ fn run_repl(workdir string, vrepl_prefix string) {
}
fn print_output(s os.Result) {
lines := s.output.split('\n')
lines := s.output.trim_right('\n\r').split('\n')
for line in lines {
if line.contains('.vrepl_temp.v:') {
// Hide the temporary file name