diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-11 21:24:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-11 21:24:53 +0800 |
commit | 4caf0cac1caf6e8567016424dfa103af27f097b7 (patch) | |
tree | a990c3a60403ea276c1bfa549d26c72141e614cc /server-beta/src/searcher/getGlobals.lua | |
parent | 025b80013795760483e75fc2487e439a0f62cfeb (diff) | |
download | lua-language-server-4caf0cac1caf6e8567016424dfa103af27f097b7.zip |
跨越 link
Diffstat (limited to 'server-beta/src/searcher/getGlobals.lua')
-rw-r--r-- | server-beta/src/searcher/getGlobals.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server-beta/src/searcher/getGlobals.lua b/server-beta/src/searcher/getGlobals.lua index c5737881..ea6a6f6c 100644 --- a/server-beta/src/searcher/getGlobals.lua +++ b/server-beta/src/searcher/getGlobals.lua @@ -38,8 +38,8 @@ function searcher.getGlobals(source) if not unlock then return nil end - cache = getGlobals(source) - searcher.cache.getGlobals[source] = cache or false + cache = getGlobals(source) or false + searcher.cache.getGlobals[source] = cache unlock() return cache end |