summaryrefslogtreecommitdiff
path: root/script/core/command/autoRequire.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/command/autoRequire.lua')
-rw-r--r--script/core/command/autoRequire.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/autoRequire.lua b/script/core/command/autoRequire.lua
index 30bd13a1..2f4dfa21 100644
--- a/script/core/command/autoRequire.lua
+++ b/script/core/command/autoRequire.lua
@@ -137,7 +137,7 @@ return function (data)
end
local path = furi.decode(target)
- local visiblePaths = rpath.getVisiblePath(path)
+ local visiblePaths = rpath.getVisiblePath(uri, path)
if not visiblePaths or #visiblePaths == 0 then
return
end