Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
chore: add audit command to Makefile (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 authored Apr 19, 2023
1 parent 2566f67 commit 5669e8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
check-code:
yarn check-code

# 16 is exit code for critical https://classic.yarnpkg.com/lang/en/docs/cli/audit
audit:
bash -c 'yarn audit --level critical; [[ $$? -ge 16 ]] && exit 1 || exit 0'

0 comments on commit 5669e8e

Please sign in to comment.