Skip to content

Commit 9ea867a

Browse files
committed
Write generate errors to stderr
1 parent d899015 commit 9ea867a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ func main() {
702702
errs := ctx.Validate()
703703
if len(errs) != 0 {
704704
for _, err := range errs {
705-
fmt.Printf("ERROR: %s\n", err.Error())
705+
fmt.Fprintf(os.Stderr, "ERROR: %s\n", err.Error())
706706
}
707707
os.Exit(1)
708708
}

0 commit comments

Comments
 (0)