Skip to content

Commit

Permalink
Remove cleanup phase from plural up (#567)
Browse files Browse the repository at this point in the history
This is no longer needed since we don't deliver via a submodule anymore
  • Loading branch information
michaeljguarino authored Oct 8, 2024
1 parent 1081c79 commit b5c1924
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pkg/up/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ type templatePair struct {
cloudless bool
}

func (ctx *Context) Cleanup() {
_ = git.RemoveSubmodule("bootstrap")
_ = os.RemoveAll("./bootstrap")
}

func (ctx *Context) Generate() (dir string, err error) {
dir, err = os.MkdirTemp("", "sampledir")
ctx.dir = dir
Expand Down
1 change: 0 additions & 1 deletion pkg/up/prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func (ctx *Context) Prune() error {
}

_ = os.RemoveAll("./terraform/apps")
ctx.Cleanup()

return git.Sync(repoRoot, "Post-setup resource cleanup", true)
}
Expand Down

0 comments on commit b5c1924

Please sign in to comment.