summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 05:54:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 05:54:47 +0800
commit4876ff34f6c7ab8c234577ebf5f8a96d867b4f31 (patch)
treecaa0b030c07b32df590c3ea6d8c32052041f04ce /script/workspace
parentf8551a93927ab782ddd58397f86580dc6301a4be (diff)
downloadlua-language-server-4876ff34f6c7ab8c234577ebf5f8a96d867b4f31.zip
check nils
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 91923bb8..26c3a3b2 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -332,6 +332,8 @@ function m.findUrisByFilePath(path)
return results
end
+---@param path string
+---@return string
function m.normalize(path)
if not path then
return nil