diff --git a/src/pkg/packager/actions/actions.go b/src/pkg/packager/actions/actions.go index cf6722bed5..1422e5fffb 100644 --- a/src/pkg/packager/actions/actions.go +++ b/src/pkg/packager/actions/actions.go @@ -302,7 +302,6 @@ func actionRun(ctx context.Context, cfg v1alpha1.ZarfComponentActionDefaults, cm if !cfg.Mute { execCfg.Stdout = spinner execCfg.Stderr = spinner - if logger.Enabled(ctx) { execCfg.Print = true } diff --git a/src/pkg/utils/exec/exec.go b/src/pkg/utils/exec/exec.go index f9ac5bbed4..4d1f3640a9 100644 --- a/src/pkg/utils/exec/exec.go +++ b/src/pkg/utils/exec/exec.go @@ -88,6 +88,8 @@ func CmdWithContext(ctx context.Context, config Config, command string, args ... &stderrBuf, } + // TODO (@austinabro321) remove config options for stdout/stderr once logger is released + // as these options seem to have been added specifically for the spinner // Add the writers if requested. if config.Stdout != nil { stdoutWriters = append(stdoutWriters, config.Stdout)