Skip to content

Commit

Permalink
fix pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Jan 15, 2020
1 parent 93b3fc6 commit 2018ed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/installer/__tests__/__snapshots__/getScript.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cd \\".\\"
case $hookName in
\\"pre-push\\"|\\"pre-receive\\"|\\"post-receive\\"|\\"post-rewrite\\")
export HUSKY_GIT_STDIN=\`cat\`;;
export HUSKY_GIT_STDIN=\\"\`cat\`\\";;
esac
if command_exists winpty && test -t 1; then
Expand Down
2 changes: 1 addition & 1 deletion src/installer/getScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ cd "${relativeUserPkgDir}"
case $hookName in
"pre-push"|"pre-receive"|"post-receive"|"post-rewrite")
export HUSKY_GIT_STDIN=\`cat\`;;
export HUSKY_GIT_STDIN="\`cat\`";;
esac
if command_exists winpty && test -t 1; then
Expand Down

0 comments on commit 2018ed9

Please sign in to comment.