fix(ggshield-not-ci): correct logic and print when skipping (#4)

This commit is contained in:
Iain Sproat
2022-08-25 18:00:42 +01:00
committed by GitHub
parent 4d00b7d5b6
commit 20883c95e8
+3 -1
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -eo pipefail
if [[ ! -z "${CI}"} ]]; then
if [[ -z "${CI}" ]]; then
ggshield secret scan pre-commit
else
echo "In a CI environment, so skipping GitGuardian ggshield"
fi