yq/scripts/secure.sh
2021-07-07 20:06:14 +10:00

11 lines
140 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