diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-23 17:38:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-23 17:38:38 +0800 |
commit | 61d9a99cb32487defbf72486d079e9c7324e4e51 (patch) | |
tree | dc1f81dfb50ac5e0254ededb101611f8bf48c6ac /script/workspace/workspace.lua | |
parent | 5d46db21e707be3b23655ef7fc1dfc41c36464a2 (diff) | |
download | lua-language-server-61d9a99cb32487defbf72486d079e9c7324e4e51.zip |
update
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 4c0011b3..3aebc5e0 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -48,7 +48,7 @@ end function m.create(uri) log.info('Workspace create: ', uri) if uri == furi.encode '/' - or uri == furi.encode(os.getenv 'HOME') then + or uri == furi.encode(os.getenv 'HOME' or '') then client.showMessage('Error', lang.script('WORKSPACE_NOT_ALLOWED', furi.decode(uri))) return end |