We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c819036 + 24988cf commit 8416ebbCopy full SHA for 8416ebb
1 file changed
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