Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
extra fmt.Println after rollbacks to hopefully get back to the repl prompt, previously looked like it was hanging even though it exited
Dane Schneider1bdeabd35c9d
diff --git a/app/cli/lib/apply.go b/app/cli/lib/apply.goindex 8207f1ee..7f4089df 100644--- a/app/cli/lib/apply.go+++ b/app/cli/lib/apply.go@@ -299,6 +299,7 @@ func handleApplyScript(if res == string(types.ApplyRollbackOptionRollback) {Rollback(toRollback, true)+ fmt.Println()os.Exit(0)} else {onSuccess()@@ -498,6 +499,7 @@ func execApplyScript(if canceled {// rollback and exitRollback(toRollback, true)+ fmt.Println()os.Exit(0)}}diff --git a/app/cli/plan_exec/apply_exec.go b/app/cli/plan_exec/apply_exec.goindex 07184b4d..1502cd7c 100644--- a/app/cli/plan_exec/apply_exec.go+++ b/app/cli/plan_exec/apply_exec.go@@ -106,6 +106,7 @@ func getOnApplyExecFail(applyFlags types.ApplyFlags, tellFlags types.TellFlags,if toRollback != nil {lib.Rollback(toRollback, true)}+ fmt.Println()os.Exit(1)case ApplyChangesAndExit:onSuccess()