Skip to content

Commit 23828cc

Browse files
authored
Remove debugging output (#672)
Noticed during migration from our heavily modified "go-lint" to "revive" that there is an additional line printed. I am unsure that the convention for this project is on this, we do not allow adding such a call.
1 parent 87f8e29 commit 23828cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

rule/redefines-builtin-id.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ func (w *lintRedefinesBuiltinID) Visit(node ast.Node) ast.Visitor {
136136

137137
if ok, bt := w.isBuiltIn(id.Name); ok {
138138
var msg string
139-
println(bt, id.Name)
140139
switch bt {
141140
case "constant or variable":
142141
if n.Tok == token.DEFINE {

0 commit comments

Comments
 (0)