diff options
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | script/cli/check.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index c1700393..325a0a15 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,7 @@ # changelog ## 3.6.19 +* `FIX` commandline parameter `checklevel` may not work * `FIX` [#2036] * `FIX` [#2037] 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 |