summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-05-16 20:23:32 +0800
committerGitHub <noreply@github.com>2024-05-16 20:23:32 +0800
commit27c49b2ff6a5ed98329813f88c9e68cbb06b0f5b (patch)
tree903140c2c4401f1e9441d43ec42c672c0c63eada /script
parent5093bca814e5f3471b1be28f1c9d71d6be388e60 (diff)
parentfd48abd125bfc77f9f4bec5e308d2d668fe7baac (diff)
downloadlua-language-server-27c49b2ff6a5ed98329813f88c9e68cbb06b0f5b.zip
Merge pull request #2664 from emmericp/faster-checks
Disable await.delay() when running --check
Diffstat (limited to 'script')
-rw-r--r--script/cli/check_worker.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/cli/check_worker.lua b/script/cli/check_worker.lua
index f8be88d6..0a121344 100644
--- a/script/cli/check_worker.lua
+++ b/script/cli/check_worker.lua
@@ -11,6 +11,7 @@ local protoDiag = require 'proto.diagnostic'
local config = require 'config.config'
local fs = require 'bee.filesystem'
local provider = require 'provider'
+local await = require 'await'
require 'plugin'
require 'vm'
@@ -61,6 +62,7 @@ end
---@async
xpcall(lclient.start, errorhandler, lclient, function (client)
+ await.disable()
client:registerFakers()
client:initialize {