From 61d9a99cb32487defbf72486d079e9c7324e4e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 23 Jun 2022 17:38:38 +0800 Subject: update --- script/workspace/workspace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/workspace') 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 -- cgit v1.2.3