diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 21:03:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 21:03:32 +0800 |
commit | c2eaa0fa6d31208941d61fac9d93940e08d7a1d3 (patch) | |
tree | 9265e3749c5dfabd08981baff50a22f67fd3663c /script/core | |
parent | 36a0e0f40dafdab77dd3df2ead8bceb92e3ae193 (diff) | |
download | lua-language-server-c2eaa0fa6d31208941d61fac9d93940e08d7a1d3.zip |
fix test
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/diagnostics/init.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua index 9114371f..32375a3a 100644 --- a/script/core/diagnostics/init.lua +++ b/script/core/diagnostics/init.lua @@ -116,6 +116,8 @@ return function (uri, isScopeDiag, response, checked) for _, name in ipairs(diagList) do await.delay() check(uri, name, isScopeDiag, response) - checked(name) + if checked then + checked(name) + end end end |