Skip to content

Commit 8d97458

Browse files
authored
Write errors to stderr (#31)
1 parent 3df19c1 commit 8d97458

File tree

1 file changed

+1
-1
lines changed
  • src/github.com/getnelson/nelson

1 file changed

+1
-1
lines changed

src/github.com/getnelson/nelson/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func PrintTerminalErrors(errs []error) {
122122
}
123123

124124
for _, e := range errs {
125-
fmt.Println(e)
125+
_, _ = fmt.Fprintln(os.Stderr, e)
126126
}
127127
}
128128

0 commit comments

Comments
 (0)