diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-13 19:29:49 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-13 19:29:49 +0800 |
commit | 86300e67be801568667fc01328134022d3324a9e (patch) | |
tree | 4ccebbb3f8a6005f5f8f6dfc4845cdbb263a0b10 /script/workspace/workspace.lua | |
parent | ea0dbf6309c5205fe63400bb71d47676a3305835 (diff) | |
download | lua-language-server-86300e67be801568667fc01328134022d3324a9e.zip |
fix
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r-- | script/workspace/workspace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index f7b2e97b..5b87b2bb 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -65,7 +65,7 @@ local globInteferFace = { end local paths = {} pcall(function () - for fullpath in fullPath:list_directory() do + for fullpath in fs.pairs(fullPath) do paths[#paths+1] = fullpath:string() end end) |