1234567891011121314151617181920212223242526 |
- #!/bin/bash
- ignored=(
- # djangorestframework, installed 2.4.8, affected <3.1.1, id 25804
- # Description: Escape tab switching cookie name in browsable API.
- # Reason: We do not use the browsable API
- 25804
- # numpy, installed 1.13.1, affected <=1.16.0
- # we don't use numpy it is provided by travis though.
- 36810
- )
- # Take additional ignores from argv.
- # This enables script re-use in getsentry
- if [ $# -ge 1 ]; then
- for i in "$@"; do
- ignored+=("$i")
- done
- fi
- args="--full-report"
- for i in ${ignored[@]}; do
- args="$args --ignore=${i}"
- done
- exec safety check ${args}
|