mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
eval: Add a missing newline when relaying channel output.
This commit is contained in:
parent
8db0115692
commit
f4e266cf78
|
@ -38,6 +38,7 @@ func relayChanToFile(ch <-chan Value, file *os.File, prefix *string, w *sync.Wai
|
|||
for v := range ch {
|
||||
file.WriteString(*prefix)
|
||||
file.WriteString(v.Repr(initIndent))
|
||||
file.WriteString("\n")
|
||||
}
|
||||
w.Done()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user