summaryrefslogtreecommitdiff
path: root/script-beta/vm/eachField.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-08-16 00:09:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-08-16 00:09:54 +0800
commit51592cb52f944d8b22ce0a7e1ac1a940a4aef735 (patch)
tree20d6a02fe7ecc5d2d0b239afd702e488d84920a9 /script-beta/vm/eachField.lua
parent643bdff2713f8d0ac0b9bfd781e35fa2246a1c6d (diff)
downloadlua-language-server-51592cb52f944d8b22ce0a7e1ac1a940a4aef735.zip
从业务层获取缓存
Diffstat (limited to 'script-beta/vm/eachField.lua')
-rw-r--r--script-beta/vm/eachField.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/eachField.lua b/script-beta/vm/eachField.lua
index 7dab51e7..ffc16228 100644
--- a/script-beta/vm/eachField.lua
+++ b/script-beta/vm/eachField.lua
@@ -50,7 +50,7 @@ function vm.eachField(source, callback)
if not unlock then
return
end
- cache = eachField(source) or false
+ cache = eachField(source)
vm.getCache('eachField')[source] = cache
unlock()
for i = 1, #cache do