diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-25 17:27:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-25 17:27:01 +0800 |
commit | 856a4cb27430d6d578a1ee450e7ac4aa13a5f4f1 (patch) | |
tree | 356120ae3713e723e8dca5fdae6314b2d3b63676 /script-beta/vm/getLibrary.lua | |
parent | 64aab1cc575552ce2ed494790d201d3e6f170065 (diff) | |
download | lua-language-server-856a4cb27430d6d578a1ee450e7ac4aa13a5f4f1.zip |
更新API
Diffstat (limited to 'script-beta/vm/getLibrary.lua')
-rw-r--r-- | script-beta/vm/getLibrary.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/vm/getLibrary.lua b/script-beta/vm/getLibrary.lua index 69280fd9..32438805 100644 --- a/script-beta/vm/getLibrary.lua +++ b/script-beta/vm/getLibrary.lua @@ -73,9 +73,9 @@ end local function getLibrary(source) return checkNode(source) or checkStdLibrary(source) - or vm.eachRef(source, function (info) - return checkStdLibrary(info.source) - or checkNode(info.source) + or vm.eachRef(source, function (src) + return checkStdLibrary(src) + or checkNode(src) end, 100) end |