diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 20:06:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-28 20:06:34 +0800 |
commit | 5b950742705515c4bc2502e8a902221f44bf644f (patch) | |
tree | f57ba3f1159eecfba3d882703b1b5775e0e72541 /script/workspace/workspace.lua | |
parent | deac4582d38908c1281d4d5215b7b69ff8400dca (diff) | |
download | lua-language-server-5b950742705515c4bc2502e8a902221f44bf644f.zip |
cleanup
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r-- | script/workspace/workspace.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index d24cbfe9..6425af06 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -354,9 +354,6 @@ end ---@param path string ---@return string function m.normalize(path) - if not path then - return nil - end path = path:gsub('%$%{(.-)%}', function (key) if key == '3rd' then return (ROOT / 'meta' / '3rd'):string() @@ -379,7 +376,7 @@ function m.normalize(path) return path end ----@return string +---@return string? function m.getAbsolutePath(folderUri, path) if not path or path == '' then return nil |