Skip to content

Commit 24988cf

Browse files
cx-rahul-piddecx-anurag-dalke
authored andcommitted
reverted println changes
1 parent 954dbe7 commit 24988cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ func exitIfError(err error) {
146146
if err != nil {
147147
switch e := err.(type) {
148148
case *wrappers.AstError:
149-
fmt.Fprintln(os.Stderr, e.Err)
149+
fmt.Println(e.Err)
150150
os.Exit(e.Code)
151151
default:
152-
fmt.Fprintln(os.Stderr, e)
152+
fmt.Println(e)
153153
os.Exit(failureExitCode)
154154
}
155155
}

0 commit comments

Comments
 (0)