Skip to content

Commit 63b3606

Browse files
kevinhwang91sumneko
authored andcommitted
fix(files): check uri whether equal or not
1 parent f2db41d commit 63b3606

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
@@ -52,7 +52,7 @@ function m.getRealUri(uri)
5252
end
5353
filename = res:string()
5454
local ruri = furi.encode(filename)
55-
if not fixedUri[ruri] then
55+
if uri ~= ruri and not fixedUri[ruri] then
5656
fixedUri[ruri] = true
5757
log.warn(('Fix real file uri: %s -> %s'):format(uri, ruri))
5858
end

0 commit comments

Comments
 (0)