Skip to content

Commit 2432006

Browse files
committed
DO NOT close stdout 🤦
1 parent 6291434 commit 2432006

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

aces.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"fmt"
77
"io"
88
"math"
9-
"os"
109
)
1110

1211
var BufSize = 16 * 1024
@@ -144,10 +143,6 @@ func (c *Coding) Encode(dst io.Writer, src io.Reader) error {
144143
if err != nil {
145144
return err
146145
}
147-
err = os.Stdout.Close()
148-
if err != nil {
149-
return err
150-
}
151146
return nil
152147
}
153148
return err

0 commit comments

Comments
 (0)