Skip to content

Commit beaa600

Browse files
authored
Update files.lua
`local real = getRealParent(path:parent_path()) / res:filename() ` to `local real = getRealParent(path:parent_path())` since `getRealParent` already add `res:filename()`
1 parent 64c7084 commit beaa600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/files.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function m.getRealUri(uri)
9999
if uri == ruri then
100100
return ruri
101101
end
102-
local real = getRealParent(path:parent_path()) / res:filename()
102+
local real = getRealParent(path:parent_path())
103103
ruri = furi.encode(real:string())
104104
if uri == ruri then
105105
return ruri

0 commit comments

Comments
 (0)