yq/scripts/secure.sh
2021-07-18 17:05:12 +10:00

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