We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954dbe7 commit 24988cfCopy full SHA for 24988cf
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