mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +01:00
Feature/remove bitmask (#14489)
* remove bitmask * add --fail-on-missing-exclusions * add .iyarc
This commit is contained in:
parent
d0ed2c1afc
commit
0fd1cea1fe
@ -6,13 +6,13 @@ set -x
|
||||
set -o pipefail
|
||||
|
||||
# use `improved-yarn-audit` since that allows for exclude
|
||||
# exclude 1002401 until we remove use of 3Box, 1002581 until we can find a better solution
|
||||
yarn run improved-yarn-audit --ignore-dev-deps --min-severity moderate --exclude GHSA-93q8-gq69-wqmw,GHSA-257v-vj4p-3w2h,GHSA-fwr7-v2mv-hh25
|
||||
audit_status="$?"
|
||||
# exclusions are in .iyarc now
|
||||
yarn run improved-yarn-audit \
|
||||
--ignore-dev-deps \
|
||||
--min-severity moderate \
|
||||
--fail-on-missing-exclusions
|
||||
|
||||
# Use a bitmask to ignore INFO and LOW severity audit results
|
||||
# See here: https://yarnpkg.com/lang/en/docs/cli/audit/
|
||||
audit_status="$(( audit_status & 11100 ))"
|
||||
audit_status="$?"
|
||||
|
||||
if [[ "$audit_status" != 0 ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user