diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-07 20:09:35 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-07 20:09:35 +0800 |
commit | 7b73b1e47496b84e41bc10ed9a7d7f0f0d0a80d3 (patch) | |
tree | 13e212ed2b764be527bdda0ee8d04e8086f307b3 | |
parent | 3d46b2727c209a5d0bbf99c043b6f4040d4cfa8f (diff) | |
download | lua-language-server-7b73b1e47496b84e41bc10ed9a7d7f0f0d0a80d3.zip |
fix
-rw-r--r-- | script/vm/getLinks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua index 1b45f9b0..434b6855 100644 --- a/script/vm/getLinks.lua +++ b/script/vm/getLinks.lua @@ -17,7 +17,7 @@ local function getFileLinks(uri) return end local args = call.args - if not args[1] or args[1].type ~= 'string' then + if not args or not args[1] or args[1].type ~= 'string' then return end local uris = ws.findUrisByRequirePath(args[1][1]) |