yq/scripts/secure.sh

11 lines
128 B
Bash
Raw Normal View History

2021-03-03 08:44:23 +00:00
#!/bin/bash
set -o errexit
set -o pipefail
if command -v gosec &> /dev/null
then
gosec ${PWD}
else
./bin/gosec ${PWD}
fi