Skip to content

Commit 38ac0d8

Browse files
keroxpCopilot
andauthored
Update cli/cage/audit/command.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 23bcde2 commit 38ac0d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cage/audit/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (a *command) Run(ctx context.Context) (err error) {
4747
func (a *command) doScan(ctx context.Context) (results []*ScanResult, err error) {
4848
l := a.di.Get(key.Logger).(logger.Logger)
4949
t := a.di.Get(key.Time).(types.Time)
50-
l.Errorf("\r")
50+
defer l.Errorf("\r")
5151
waiter := make(chan struct{}, 1)
5252
spinner := logger.NewSpinner()
5353
go func() {

0 commit comments

Comments
 (0)