Skip to content

Commit

Permalink
stop non-portable quote-grouping of git args
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirk McKelvey committed Jun 22, 2020
1 parent 8f05f8a commit afac6c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sh/husky.sh
Expand Up @@ -10,7 +10,7 @@ command_exists () {

run_command () {
if command_exists "$1"; then
"$@" husky-run $hookName "$gitParams"
"$@" husky-run $hookName $gitParams

exitCode="$?"
debug "$* husky-run exited with $exitCode exit code"
Expand Down
2 changes: 1 addition & 1 deletion src/installer/__tests__/__snapshots__/scripts.ts.snap
Expand Up @@ -39,7 +39,7 @@ command_exists () {
run_command () {
if command_exists \\"$1\\"; then
\\"$@\\" husky-run $hookName \\"$gitParams\\"
\\"$@\\" husky-run $hookName $gitParams
exitCode=\\"$?\\"
debug \\"$* husky-run exited with $exitCode exit code\\"
Expand Down

0 comments on commit afac6c4

Please sign in to comment.