Skip to content

Commit

Permalink
Minor fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed May 7, 2024
1 parent af65aa2 commit 8256fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func printScript(label string, content []byte) {

func exit(code int, err error) {
if err != nil {
os.Stderr.WriteString(err.Error() + "\n")
fmt.Fprintln(os.Stderr, err.Error())
}
os.Exit(code)
}
Expand Down

0 comments on commit 8256fcd

Please sign in to comment.