2
2
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:
sammyette 2025-04-17 22:36:29 -04:00
parent fde615ff3f
commit 6827940466
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

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