tools: fix the output of `v run cmd/tools/oldv.v d329e1d -c "./v file.v"`

pull/12037/head
Delyan Angelov 2021-10-02 14:13:17 +03:00
parent d1d4877348
commit 552daea04f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ fn main() {
}
scripting.cprint_strong('# result: ')
print(cmdres.output)
if !cmdres.output.ends_with('\n') {
println('')
}
exit(cmdres.exit_code)
}
}