We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f9ffd7 + b8f9bc0 commit 56ebc8fCopy full SHA for 56ebc8f
cmd/init.go
@@ -55,8 +55,8 @@ var initCmd = &cobra.Command{
55
return err
56
}
57
if err := stackManager.InitStack(&initOptions); err != nil {
58
- if err := stackManager.RemoveStack(); err != nil {
59
- return err
+ if cleanupErr := stackManager.RemoveStack(); cleanupErr != nil {
+ fmt.Printf("Cleanup from previous error returned: %s", cleanupErr)
60
61
62
0 commit comments