mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Improve remove workspace dir path https://ld246.com/article/1703151906396
This commit is contained in:
parent
2742fc369b
commit
b1f0e325b9
1 changed files with 0 additions and 4 deletions
|
|
@ -160,10 +160,6 @@ func removeWorkspaceDir(c *gin.Context) {
|
||||||
ret.Msg = err.Error()
|
ret.Msg = err.Error()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if util.WorkspaceDir == path && (util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container) {
|
|
||||||
os.Exit(logging.ExitCodeOk)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func removeWorkspaceDirPhysically(c *gin.Context) {
|
func removeWorkspaceDirPhysically(c *gin.Context) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue