From d0d0b2c0d5cbe6218acd0593a765f0fc2c646913 Mon Sep 17 00:00:00 2001 From: Nathan Rijksen Date: Wed, 13 Aug 2025 15:22:42 -0700 Subject: [PATCH] Fix `state commit --skip-validation` saying failed when it was a success --- internal/runners/commit/commit.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/runners/commit/commit.go b/internal/runners/commit/commit.go index 380a1230e7..887011b25a 100644 --- a/internal/runners/commit/commit.go +++ b/internal/runners/commit/commit.go @@ -141,11 +141,10 @@ func (c *Commit) Run(params *Params) (rerr error) { if err != nil { return errs.Wrap(err, "Could not update project to reflect build script changes.") } + pg.Stop(locale.T("progress_success")) + pg = nil if !params.SkipValidation { - pg.Stop(locale.T("progress_success")) - pg = nil - pgSolve := output.StartSpinner(out, locale.T("progress_solve"), constants.TerminalAnimationInterval) defer func() { if pgSolve != nil {