Skip to content

Commit afac6c4

Browse files
author
Kirk McKelvey
committed
stop non-portable quote-grouping of git args
1 parent 8f05f8a commit afac6c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sh/husky.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ command_exists () {
1010

1111
run_command () {
1212
if command_exists "$1"; then
13-
"$@" husky-run $hookName "$gitParams"
13+
"$@" husky-run $hookName $gitParams
1414

1515
exitCode="$?"
1616
debug "$* husky-run exited with $exitCode exit code"

src/installer/__tests__/__snapshots__/scripts.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ command_exists () {
3939
4040
run_command () {
4141
if command_exists \\"$1\\"; then
42-
\\"$@\\" husky-run $hookName \\"$gitParams\\"
42+
\\"$@\\" husky-run $hookName $gitParams
4343
4444
exitCode=\\"$?\\"
4545
debug \\"$* husky-run exited with $exitCode exit code\\"

0 commit comments

Comments
 (0)