Skip to content

Commit 8cfb0a1

Browse files
Update .husky/pre-commit
Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent ea892d7 commit 8cfb0a1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.husky/pre-commit

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,5 @@ git update-index --again
88

99
# check for secrets
1010
if [ -z "$CI" ] && [ -z "$GITHUB_ACTIONS" ]; then
11-
if command -v trufflehog >/dev/null 2>&1; then
12-
trufflehog git file://. --since-commit HEAD --fail
13-
else
14-
echo "Warning: trufflehog not found, skipping secret scanning"
15-
fi
11+
trufflehog git file://. --since-commit HEAD --fail
1612
fi

0 commit comments

Comments
 (0)