summaryrefslogtreecommitdiff
path: root/script/cli/check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/cli/check.lua')
-rw-r--r--script/cli/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/cli/check.lua b/script/cli/check.lua
index ea767fae..94f34b2a 100644
--- a/script/cli/check.lua
+++ b/script/cli/check.lua
@@ -64,7 +64,7 @@ lclient():start(function (client)
disables[name] = true
end
end
- config.set(nil, 'Lua.diagnostics.disable', util.getTableKeys(disables, true))
+ config.set(rootUri, 'Lua.diagnostics.disable', util.getTableKeys(disables, true))
local uris = files.getAllUris(rootUri)
local max = #uris