Skip to content

Commit

Permalink
Sc/fix update semgrep (ethereum-optimism#12942)
Browse files Browse the repository at this point in the history
* fix upgrade-semgrep

* fix upgrade-semgrep
  • Loading branch information
AmadiMichael authored Nov 18, 2024
1 parent bc6f8de commit 29f76e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ check-semgrep:
[ "$(just print-semgrep)" = "$(jq -r .semgrep < versions.json)" ] && echo '✓ semgrep versions match' || (echo '✗ semgrep version mismatch. Run `just upgrade-semgrep` to upgrade.' && exit 1)

upgrade-semgrep:
jq '.semgrep = $v' --arg v $(just print-semgrep) <<<$(cat versions.json) > versions.json
pip3 install semgrep=="$(jq -r .semgrep < versions.json)"

0 comments on commit 29f76e5

Please sign in to comment.