diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-18 16:15:26 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-18 16:15:26 +0800 |
commit | 7b3bdcfb3f62695bb8ad237046285634a701a697 (patch) | |
tree | 0efe10bc304612b6280cb7b36b3950e1d3318187 /script/utility.lua | |
parent | f99a3cd8dea446852d8282319d620704eb0e6094 (diff) | |
download | lua-language-server-7b3bdcfb3f62695bb8ad237046285634a701a697.zip |
update
Diffstat (limited to 'script/utility.lua')
-rw-r--r-- | script/utility.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/utility.lua b/script/utility.lua index 57511dce..bb858699 100644 --- a/script/utility.lua +++ b/script/utility.lua @@ -652,9 +652,6 @@ function m.trim(str, mode) end function m.expandPath(path) - if type(path) ~= 'string' then - return nil - end if path:sub(1, 1) == '~' then local home = getenv('HOME') if not home then -- has to be Windows |