code-server/ci/dev/audit.sh

13 lines
233 B
Bash
Raw Normal View History

2021-04-05 23:32:01 +00: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 "$@"