mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 04:23:23 +00:00
chore: remove print and fix formatting
This commit is contained in:
parent
fde615ff3f
commit
6827940466
@ -95,7 +95,6 @@ func luaSinkReadAll(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
||||
}
|
||||
|
||||
if s.autoFlush {
|
||||
println("flushing the toilet")
|
||||
s.Rw.Flush()
|
||||
}
|
||||
|
||||
@ -104,8 +103,8 @@ func luaSinkReadAll(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
|
||||
line, err := s.Rw.ReadString('\n')
|
||||
if err != nil {
|
||||
if err == io.EOF {
|
||||
// We still want to add the data we read
|
||||
lines = append(lines, line)
|
||||
// We still want to add the data we read
|
||||
lines = append(lines, line)
|
||||
break
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user