mirror of
https://github.com/mgechev/revive.git
synced 2025-03-21 21:17:06 +02:00
removes commented code
This commit is contained in:
parent
65beded8c4
commit
ef265b07dd
@ -17,10 +17,6 @@ func (r *UnconditionalRecursionRule) Apply(file *lint.File, _ lint.Arguments) []
|
|||||||
failures = append(failures, failure)
|
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}
|
w := lintUnconditionalRecursionRule{onFailure: onFailure}
|
||||||
ast.Walk(w, file.AST)
|
ast.Walk(w, file.AST)
|
||||||
return failures
|
return failures
|
||||||
|
Loading…
x
Reference in New Issue
Block a user