Skip to content

Commit e117b7f

Browse files
committed
don't use Printf with dynamic first argument and no further arguments
1 parent af52b96 commit e117b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gocyclo/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ func printTotal(s gocyclo.Stats, short bool) {
116116
}
117117

118118
func usage() {
119-
_, _ = fmt.Fprintf(os.Stderr, usageDoc)
119+
_, _ = fmt.Fprint(os.Stderr, usageDoc)
120120
os.Exit(2)
121121
}

0 commit comments

Comments
 (0)