Skip to content

Commit

Permalink
don't use Printf with dynamic first argument and no further arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
fzipp committed Sep 19, 2021
1 parent af52b96 commit e117b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gocyclo/main.go
Expand Up @@ -116,6 +116,6 @@ func printTotal(s gocyclo.Stats, short bool) {
}

func usage() {
_, _ = fmt.Fprintf(os.Stderr, usageDoc)
_, _ = fmt.Fprint(os.Stderr, usageDoc)
os.Exit(2)
}

0 comments on commit e117b7f

Please sign in to comment.