blob: f38be2f0ab6df966921fc265f52248db5d66cd91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
if ! npm audit --production
then
! npm audit --production --json > audit.json
printf '%s\n' ''
node .circleci/scripts/npm-audit-check.js
fi
|