summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-17 20:53:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-17 20:53:33 +0800
commit08b3a7316a4ddcb163c408378fde89a0751d6081 (patch)
tree90375debc4784b2ea4cb1a5d8875db3b62f2386d /script/core
parentd24d1eb018787ccdff681e8d5baa33e13e036888 (diff)
downloadlua-language-server-08b3a7316a4ddcb163c408378fde89a0751d6081.zip
stash
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua
index 5446a7c3..0a04ad91 100644
--- a/script/core/diagnostics/init.lua
+++ b/script/core/diagnostics/init.lua
@@ -70,7 +70,9 @@ return function (uri, response)
return nil
end
- log.debug('do diagnostic @', uri)
+ if TEST then
+ log.debug('do diagnostic @', uri)
+ end
for _, name in ipairs(diagList) do
await.delay()