diff --git a/go.mod b/go.mod index ba21ff1..b4bd85f 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.22.6 require ( github.com/spf13/pflag v1.0.5 - github.com/upsun/convsun v0.3.3 - github.com/upsun/lib-sun v0.3.11 + github.com/upsun/convsun v0.3.4 + github.com/upsun/lib-sun v0.3.13 ) require ( diff --git a/go.sum b/go.sum index 83d61f6..3c62156 100644 --- a/go.sum +++ b/go.sum @@ -16,10 +16,10 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/upsun/convsun v0.3.3 h1:J/wVUfN/ZDzc7XrTFwyXQtBolVI/xH6EqiAcBda6kdk= -github.com/upsun/convsun v0.3.3/go.mod h1:GccN0u2o2/psOdLPkx1ej2squS6FdKqbAeaEEeDV8p0= -github.com/upsun/lib-sun v0.3.11 h1:yhlZWWQeIXcm5PLcniV8cbA2Y7kQ/Fkf/0QDPpIi010= -github.com/upsun/lib-sun v0.3.11/go.mod h1:8AtRNv0L+c9qCS/maO/OVFIn2VDi89LTkWwpB7YKTDE= +github.com/upsun/convsun v0.3.4 h1:MiOidA/g2qRBe9h7iwiCotP+llF9W50maxzcR4Zw+hM= +github.com/upsun/convsun v0.3.4/go.mod h1:32MjtKrPJkXhgYomhm7B+Wkgpq9vKTX6NQox7ut2U8Q= +github.com/upsun/lib-sun v0.3.13 h1:gB40P4XBeu/sMrEGASCZ+vuf1m4Xy13ndAGAPECy/Tw= +github.com/upsun/lib-sun v0.3.13/go.mod h1:8AtRNv0L+c9qCS/maO/OVFIn2VDi89LTkWwpB7YKTDE= golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= diff --git a/internal/logic/clone_project.go b/internal/logic/clone_project.go index 209dee1..bbda352 100644 --- a/internal/logic/clone_project.go +++ b/internal/logic/clone_project.go @@ -14,7 +14,7 @@ func Clone(projectSrcContext entity.ProjectGlobal, projectDstContext entity.Proj // Define workspace var ws utils.PathTmp if utils.IsKeep() { - ws = utils.BuildPersistWorkspace() + ws = utils.BuildPersistWorkspace(app.ArgsM.KeepData) } else { ws = utils.BuildTemporyWorkspace() defer ws.CleanUp() // clean up on exit