From b1f0e325b9a0402222b2f3c50b7230a498e9bb76 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 22 Dec 2023 23:38:31 +0800 Subject: [PATCH] :art: Improve remove workspace dir path https://ld246.com/article/1703151906396 --- kernel/api/workspace.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/api/workspace.go b/kernel/api/workspace.go index bf489e25b..bdda877c3 100644 --- a/kernel/api/workspace.go +++ b/kernel/api/workspace.go @@ -160,10 +160,6 @@ func removeWorkspaceDir(c *gin.Context) { ret.Msg = err.Error() return } - - if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) { - os.Exit(logging.ExitCodeOk) - } } func removeWorkspaceDirPhysically(c *gin.Context) {