From 7f82ea8fd75c9e3585aa14c3ae4750f48b2360f4 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 11 Jan 2023 22:18:22 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=BD=93=E5=89=8D=E5=B7=A5=E4=BD=9C=E7=A9=BA=E9=97=B4?= =?UTF-8?q?=E5=90=8E=E6=8A=A5=E9=94=99=20Fix=20https://github.com/siyuan-n?= =?UTF-8?q?ote/siyuan/issues/7035?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/workspace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go index 8c98b41c3..54bcd03bb 100644 --- a/kernel/api/workspace.go +++ b/kernel/api/workspace.go @@ -106,7 +106,7 @@ func removeWorkspaceDir(c *gin.Context) { return } - if util.WorkspaceDir == path { + if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) { os.Exit(util.ExitCodeOk) } }