summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/workspace/require-path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/require-path.lua b/script/workspace/require-path.lua
index 8048f8ef..1b7b25f9 100644
--- a/script/workspace/require-path.lua
+++ b/script/workspace/require-path.lua
@@ -169,7 +169,7 @@ function mt:findUrisByRequireName(suri, name)
local searcherMap = {}
for _, searcher in ipairs(searchers) do
- local fspath = searcher:gsub('%?', path:gsub('%%', '%%%%'))
+ local fspath = searcher:gsub('%?', (path:gsub('%%', '%%%%')))
local fullPath = workspace.getAbsolutePath(self.scp.uri, fspath)
if fullPath then
local fullUri = furi.encode(fullPath)