Skip to content

Commit

Permalink
fix CSV stdout (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir authored Mar 15, 2024
1 parent 19c1103 commit a2fea6d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,7 @@ func (r *Runner) Run() error {
outputWriters = append(outputWriters, file)
}

if !r.options.DisplayInCSV {
outputWriters = append(outputWriters, os.Stdout)
}

outputWriters = append(outputWriters, os.Stdout)
r.options.Output = io.MultiWriter(outputWriters...)

if r.options.DisplayInCSV {
Expand Down

0 comments on commit a2fea6d

Please sign in to comment.