mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
11 lines
144 B
Bash
Executable File
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 |