File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
2- . " $( dirname " $0 " ) /_/husky.sh"
3-
41# Section for git-secrets
52
63if ! command -v git-secrets > /dev/null 2>&1
@@ -14,4 +11,4 @@ git-secrets --register-aws > /dev/null
1411
1512echo "Running git-secrets..."
1613# Scans the commit message.
17- git-secrets --commit_msg_hook -- " $@ "
14+ git-secrets --commit_msg_hook -- "$@"
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- . " $( dirname " $0 " ) /_/husky.sh"
3-
41npx --no-install lint-staged
52
6-
73# Section for git-secrets
84
95if ! command -v git-secrets > /dev/null 2>&1
@@ -17,4 +13,4 @@ git-secrets --register-aws > /dev/null
1713
1814echo "Running git-secrets..."
1915# Scans all files that are about to be committed.
20- git-secrets --pre_commit_hook -- " $@ "
16+ git-secrets --pre_commit_hook -- "$@"
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- . " $( dirname " $0 " ) /_/husky.sh"
3-
41# Section for git-secrets
52
63if ! command -v git-secrets > /dev/null 2>&1
@@ -14,4 +11,4 @@ git-secrets --register-aws > /dev/null
1411
1512echo "Running git-secrets..."
1613# Determines if merging in a commit will introduce tainted history.
17- git-secrets --prepare_commit_msg_hook -- " $@ "
14+ git-secrets --prepare_commit_msg_hook -- "$@"
You can’t perform that action at this time.
0 commit comments