Skip to content

Commit

Permalink
fix: disable placeholder when quiet scan (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski authored Mar 11, 2024
1 parent faac4fb commit d23fa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/artifact/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func (r *runner) Report(
return false, err
}

if !reportSupported && r.scanSettings.Report.Report != flag.ReportPrivacy {
if !reportSupported && r.scanSettings.Report.Report != flag.ReportPrivacy && !r.scanSettings.Scan.Quiet {
var placeholderStr *strings.Builder
placeholderStr, err = getPlaceholderOutput(reportData, report, r.scanSettings, report.Inputgocloc)
if err != nil {
Expand Down

0 comments on commit d23fa86

Please sign in to comment.