summaryrefslogtreecommitdiff
path: root/script/vm/getLinks.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/getLinks.lua')
-rw-r--r--script/vm/getLinks.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua
index 77d869f8..7fe31e5e 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -20,7 +20,7 @@ local function getFileLinks(uri)
if not args or not args[1] or args[1].type ~= 'string' then
return
end
- local uris = rpath.findUrisByRequirePath(args[1][1])
+ local uris = rpath.findUrisByRequirePath(uri, args[1][1])
for _, u in ipairs(uris) do
if not links[u] then
links[u] = {}