1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

Remove useless getter

This commit is contained in:
mgechev
2018-01-21 18:48:51 -08:00
parent 9c979ed65f
commit 1dc6e7cabd
13 changed files with 20 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ type VarDeclarationsRule struct{}
func (r *VarDeclarationsRule) Apply(file *linter.File, arguments linter.Arguments) []linter.Failure {
var failures []linter.Failure
fileAst := file.GetAST()
fileAst := file.AST
walker := &lintVarDeclarations{
file: file,
fileAst: fileAst,