Skip to content

Commit 1b000b9

Browse files
committed
fix extra \n in reported message
1 parent 28a433c commit 1b000b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyzer/analyzer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func run(pass *analysis.Pass) (interface{}, error) {
6666
return
6767
}
6868

69-
pass.Reportf(node.Pos(), "printf-like formatting function '%s' should be named '%sf'\n",
69+
pass.Reportf(node.Pos(), "printf-like formatting function '%s' should be named '%sf'",
7070
funcDecl.Name.Name, funcDecl.Name.Name)
7171
})
7272

0 commit comments

Comments
 (0)