Skip to content

Commit

Permalink
Remove debugging output (#672)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zimmski authored Apr 7, 2022
1 parent 87f8e29 commit 23828cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rule/redefines-builtin-id.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ func (w *lintRedefinesBuiltinID) Visit(node ast.Node) ast.Visitor {

if ok, bt := w.isBuiltIn(id.Name); ok {
var msg string
println(bt, id.Name)
switch bt {
case "constant or variable":
if n.Tok == token.DEFINE {
Expand Down

0 comments on commit 23828cc

Please sign in to comment.