Added gosec

This commit is contained in:
Mike Farah
2021-03-03 19:44:34 +11:00
parent e93c43f7a0
commit b2186d5404
6 changed files with 20 additions and 38 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -o errexit
set -o pipefail
if command -v gosec &> /dev/null
then
gosec ${PWD}
else
./bin/gosec ${PWD}
fi