yq/scripts/secure.sh
2021-03-03 19:44:34 +11:00

11 lines
128 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o pipefail
if command -v gosec &> /dev/null
then
gosec ${PWD}
else
./bin/gosec ${PWD}
fi