Skip to content

Commit 8256fcd

Browse files
committed
Minor fixup
1 parent af65aa2 commit 8256fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func printScript(label string, content []byte) {
3636

3737
func exit(code int, err error) {
3838
if err != nil {
39-
os.Stderr.WriteString(err.Error() + "\n")
39+
fmt.Fprintln(os.Stderr, err.Error())
4040
}
4141
os.Exit(code)
4242
}

0 commit comments

Comments
 (0)