Skip to content

Commit

Permalink
fix(docs): Add the correct snippet_choices element in the documenta…
Browse files Browse the repository at this point in the history
…tion

Signed-off-by: Nicolas Nobelis <[email protected]>
  • Loading branch information
nnobelis authored and sschuberth committed Apr 12, 2024
1 parent 3fd42b2 commit ac57032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/configuration/snippet-choice.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Now an operator decided that the snippet `pkg:github/RS2007/dotfiles@0384a21038f
To do so, the user defines in the repository's `.ort.yml` the following **snippet choice**:

```yaml
package_snippet_choices:
snippet_choices:
- provenance:
url: "https://github.com/vdurmont/semver4j.git"
choices:
Expand Down Expand Up @@ -133,7 +133,7 @@ How to deal with a source location that has *only* false positives snippets?
The solution is to use the `NO_RELEVANT_FINDING` reason in the `.ort.yml` file:

```yaml
package_snippet_choices:
snippet_choices:
- provenance:
url: "https://github.com/vdurmont/semver4j.git"
choices:
Expand Down

0 comments on commit ac57032

Please sign in to comment.