File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ func ScanSite(
245245 opts .ScanMode = "stealthy"
246246 }
247247
248- if progress != nil {
248+ if progress != nil && opts . File == "" {
249249 progress .ClearLine ()
250250 }
251251
@@ -272,7 +272,7 @@ func ScanSite(
272272 }
273273
274274 if len (detected ) == 0 {
275- if progress != nil {
275+ if progress != nil && opts . File == "" {
276276 progress .ClearLine ()
277277 }
278278 if opts .File == "" {
@@ -357,7 +357,7 @@ func ScanSite(
357357
358358 wg .Wait ()
359359
360- if progress != nil {
360+ if progress != nil && opts . File == "" {
361361 progress .ClearLine ()
362362 }
363363
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import (
3333)
3434
3535const (
36- msgWidth = 40 // fixed width for progress messages
36+ msgWidth = 50 // fixed width for progress messages
3737)
3838
3939type ProgressManager struct {
You can’t perform that action at this time.
0 commit comments