1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-17 20:57:58 +02:00

removes commented code

This commit is contained in:
chavacava 2020-05-13 23:42:09 +02:00
parent 65beded8c4
commit ef265b07dd

View File

@ -17,10 +17,6 @@ func (r *UnconditionalRecursionRule) Apply(file *lint.File, _ lint.Arguments) []
failures = append(failures, failure)
}
// err := file.Pkg.TypeCheck()
// if err != nil {
// panic(fmt.Sprintf("Error while type-checking file %s: %v", file.Name, err))
// }
w := lintUnconditionalRecursionRule{onFailure: onFailure}
ast.Walk(w, file.AST)
return failures