mirror of
https://github.com/mgechev/revive.git
synced 2025-03-25 21:29:16 +02:00
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.
This commit is contained in:
parent
87f8e2920c
commit
23828cc39d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user