Skip to content

Commit a1721db

Browse files
committed
Fix broken build
1 parent 6e3d62a commit a1721db

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/src/campaign_progress_printer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (p *campaignProgressPrinter) initProgressBar(statuses []*campaigns.TaskStat
7070
},
7171
}
7272

73-
opts := output.DefaultProgressTTYOpts.WithoutSpinner()
73+
opts := output.DefaultProgressTTYOpts.WithNoSpinner(p.forceNoSpinner)
7474
p.progress = p.out.ProgressWithStatusBars(progressBars, statusBars, opts)
7575

7676
return numStatusBars

internal/output/progress.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ type ProgressOpts struct {
4040
NoSpinner bool
4141
}
4242

43-
func (opt *ProgressOpts) WithoutSpinner() *ProgressOpts {
43+
func (opt *ProgressOpts) WithNoSpinner(noSpinner bool) *ProgressOpts {
4444
c := *opt
45-
c.NoSpinner = true
45+
c.NoSpinner = noSpinner
4646
return &c
4747
}
4848

0 commit comments

Comments
 (0)