summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/no-implicit-any.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/no-implicit-any.lua')
-rw-r--r--script/core/diagnostics/no-implicit-any.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/no-implicit-any.lua b/script/core/diagnostics/no-implicit-any.lua
index ffaab821..23af570a 100644
--- a/script/core/diagnostics/no-implicit-any.lua
+++ b/script/core/diagnostics/no-implicit-any.lua
@@ -1,5 +1,5 @@
local files = require 'files'
-local guide = require 'core.guide'
+local searcher = require 'core.searcher'
local lang = require 'language'
local define = require 'proto.define'
local vm = require 'vm'
@@ -10,7 +10,7 @@ return function (uri, callback)
return
end
- guide.eachSource(ast.ast, function (source)
+ searcher.eachSource(ast.ast, function (source)
if source.type ~= 'local'
and source.type ~= 'setlocal'
and source.type ~= 'setglobal'