summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/duplicate-set-field.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/duplicate-set-field.lua')
-rw-r--r--script/core/diagnostics/duplicate-set-field.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-set-field.lua b/script/core/diagnostics/duplicate-set-field.lua
index 7b1718ec..e1883fe5 100644
--- a/script/core/diagnostics/duplicate-set-field.lua
+++ b/script/core/diagnostics/duplicate-set-field.lua
@@ -47,7 +47,7 @@ return function (uri, callback)
end
local blocks = {}
for _, value in ipairs(values) do
- local block = searcher.getBlock(value)
+ local block = guide.getBlock(value)
if not blocks[block] then
blocks[block] = {}
end