code-server/ci/dev/audit.sh

13 lines
233 B
Bash
Raw Permalink Normal View History

2021-04-06 07:32:01 +08:00
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
# Prevents integration with moderate or higher vulnerabilities
# Docs: https://github.com/IBM/audit-ci#options
yarn audit-ci --moderate
}
main "$@"