diff options
Diffstat (limited to 'cmd/cvet/check_command.go')
| -rw-r--r-- | cmd/cvet/check_command.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/cvet/check_command.go b/cmd/cvet/check_command.go index 15f17f5..a2fc11a 100644 --- a/cmd/cvet/check_command.go +++ b/cmd/cvet/check_command.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "go/ast" "go/token" "strings" @@ -37,7 +36,7 @@ func loggerCommandKeyValueArgFinder(pass *analysis.Pass, commandName string) fun value := secondArg.Value[1 : len(secondArg.Value)-1] if value != commandName { - pass.Reportf(arg.Pos(), fmt.Sprintf("logger command name must be function name %s, but found %s", commandName, value)) + pass.Reportf(arg.Pos(), "logger command name must be function name %s, but found %s", commandName, value) return true } return true |
