We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 954dbe7 commit 46f1bdaCopy full SHA for 46f1bda
cmd/main.go
@@ -146,10 +146,10 @@ func exitIfError(err error) {
146
if err != nil {
147
switch e := err.(type) {
148
case *wrappers.AstError:
149
- fmt.Fprintln(os.Stderr, e.Err)
+ fmt.Println(e.Err)
150
os.Exit(e.Code)
151
default:
152
- fmt.Fprintln(os.Stderr, e)
+ fmt.Println(e)
153
os.Exit(failureExitCode)
154
}
155
0 commit comments