Skip to content

Commit 24503ea

Browse files
committed
use fmt.Print instead of print
The print built-in function formats its arguments in an implementation-specific way and writes the result to standard error. Print is useful for bootstrapping and debugging; it is not guaranteed to stay in the language. Also this stupid thing prints to stderr
1 parent 9895441 commit 24503ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/checker/checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545
func CheckMain(args []string) int {
4646
state, msg, collection, _ := Check(args)
4747

48-
print(GenerateStdout(state, msg, collection))
48+
fmt.Print(GenerateStdout(state, msg, collection))
4949

5050
return state.Code
5151
}

0 commit comments

Comments
 (0)