diff options
author | kevinhwang91 <kevin.hwang@live.com> | 2022-04-06 00:10:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-06 00:21:03 +0800 |
commit | 63b360689f0c2c99a1ae410518f6866f49972f98 (patch) | |
tree | a940a0e57617026b9f116bcbeced91a739792bab | |
parent | f2db41df39000bc3ca0c93e0d2ac8b8fafaf4d57 (diff) | |
download | lua-language-server-63b360689f0c2c99a1ae410518f6866f49972f98.zip |
fix(files): check uri whether equal or not
-rw-r--r-- | script/files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua index 9ddc5039..682f630f 100644 --- a/script/files.lua +++ b/script/files.lua @@ -52,7 +52,7 @@ function m.getRealUri(uri) end filename = res:string() local ruri = furi.encode(filename) - if not fixedUri[ruri] then + if uri ~= ruri and not fixedUri[ruri] then fixedUri[ruri] = true log.warn(('Fix real file uri: %s -> %s'):format(uri, ruri)) end |