Skip to content

Sarif report is always sent to stdout even when redirected to a file #230

@kehoecj

Description

@kehoecj

The sarif report is written to stdout even when the output file is specified. I have tested all reporter types and this only happens with the sarif report. To reproduce:

  1. Run validator --reporter=json:json_report.json ./test. Nothing is written to the terminal.
  2. Run validator --reporter=sarif:sarif_report.json ./test. The sarif report is written to the terminal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions