From 23828cc39d4f91b69247bdea0ab4903bd6c1912e Mon Sep 17 00:00:00 2001 From: Markus Zimmermann Date: Thu, 7 Apr 2022 22:05:51 +0200 Subject: [PATCH] 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. --- rule/redefines-builtin-id.go | 1 - 1 file changed, 1 deletion(-) diff --git a/rule/redefines-builtin-id.go b/rule/redefines-builtin-id.go index de46e2996..62cb7b615 100644 --- a/rule/redefines-builtin-id.go +++ b/rule/redefines-builtin-id.go @@ -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 {