Skip to content

Commit

Permalink
it errors when you do that on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 committed Jul 8, 2024
1 parent 3dab2fb commit 56bcafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linters/trivy/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ lint:
output: sarif
prepare_run: trivy fs --download-db-only --no-progress --cache-dir ${shared_cachedir}
run:
trivy fs ${target} --scanners vuln --format json --no-progress --skip-db-update
--cache-dir ${shared_cachedir}
trivy fs ${target} --scanners vuln --format json --no-progress --cache-dir
${shared_cachedir}
success_codes: [0]
read_output_from: stdout
# Trivy does not support batching
Expand Down

0 comments on commit 56bcafb

Please sign in to comment.