eval: Add a missing newline when relaying channel output.

This commit is contained in:
Qi Xiao 2017-12-27 20:43:43 +00:00
parent 8db0115692
commit f4e266cf78

View File

@ -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()
}