Skip to content

Commit d60714d

Browse files
committed
fix
1 parent 4190a3e commit d60714d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/workspace/require-path.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function mt:findUrisByRequireName(suri, name)
169169
local searcherMap = {}
170170

171171
for _, searcher in ipairs(searchers) do
172-
local fspath = searcher:gsub('%?', path:gsub('%%', '%%%%'))
172+
local fspath = searcher:gsub('%?', (path:gsub('%%', '%%%%')))
173173
local fullPath = workspace.getAbsolutePath(self.scp.uri, fspath)
174174
if fullPath then
175175
local fullUri = furi.encode(fullPath)

0 commit comments

Comments
 (0)