Skip to content

Commit

Permalink
Update test.md - stderr not stdout (#1484)
Browse files Browse the repository at this point in the history
* Update test.md - stderr not stdout

* Update sbom.md - stderr not stdout
  • Loading branch information
ryanlink authored Nov 26, 2024
1 parent 936d1fa commit 5bf465f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/references/subcommands/sbom.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In addition to the [usual FOSSA project flags](#common-fossa-project-flags) supp

The `sbom test` command checks whether the most-recent scan of your FOSSA project raised license-policy or vulnerability issues. This command is usually run immediately after `fossa sbom analyze`.

- If there are issues, it prints them to stdout and fails with an exit code of 1
- If there are issues, it prints them to stderr and fails with an exit code of 1
- If there are no issues, it prints nothing and succeeds with an exit code of 0

`fossa sbom test` supports the [Common FOSSA Project Flags](./analyze.md#common-fossa-project-flags).
Expand Down
4 changes: 2 additions & 2 deletions docs/references/subcommands/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

The test command checks whether the most-recent scan of your FOSSA project raised license-policy or vulnerability issues. This command is usually run immediately after `fossa analyze`

- If there are issues, it prints them to stdout and fails with an exit code of 1
- If there are issues, it prints them to stderr and fails with an exit code of 1
- If there are no issues, it prints nothing and succeeds with an exit code of 0

`fossa test` supports the [Common FOSSA Project Flags](./analyze.md#common-fossa-project-flags) supported by all commands
Expand Down Expand Up @@ -54,4 +54,4 @@ For instance,


* If the revision `v2.0.0` has issue: `A`, and the revision `34021e` has issues `A`, `B`,
* `fossa-cli` reports issue `B` and exits with status code of 1.
* `fossa-cli` reports issue `B` and exits with status code of 1.

0 comments on commit 5bf465f

Please sign in to comment.