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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user