Skip to content

Commit 552daea

Browse files
committed
tools: fix the output of v run cmd/tools/oldv.v d329e1d -c "./v file.v"
1 parent d1d4877 commit 552daea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/tools/oldv.v

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ fn main() {
171171
}
172172
scripting.cprint_strong('# result: ')
173173
print(cmdres.output)
174+
if !cmdres.output.ends_with('\n') {
175+
println('')
176+
}
174177
exit(cmdres.exit_code)
175178
}
176179
}

0 commit comments

Comments
 (0)