Skip to content

Commit

Permalink
Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Sep 28, 2019
1 parent 3336d84 commit 34c1161
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/installer/__tests__/__snapshots__/getScript.ts.snap
Expand Up @@ -31,20 +31,20 @@ if [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"true\\" ] || [ \\"\${HUSKY_SKIP_HOOKS}\\" =
fi
if [ \\"\${HUSKY_USE_YARN}\\" = \\"true\\" ] || [ \\"\${HUSKY_USE_YARN}\\" = \\"1\\" ]; then
debug \\"calling husky through Yarn\\"
debug \\"Calling husky through Yarn\\"
yarn husky-run $hookName \\"$gitParams\\"
else
if ! command -v node >/dev/null 2>&1; then
echo \\"Info: can't find node in PATH, trying to find a node binary on your system\\"
fi
if [ -f \\"$scriptPath\\" ]; then
# if [ -t 1 ]; then
# exec < /dev/tty
# fi
if [ -f ~/.huskyrc ]; then
debug \\"source ~/.huskyrc\\"
debug \\"Sourcing '~/.huskyrc'\\"
. ~/.huskyrc
fi
node_modules/run-node/run-node \\"$scriptPath\\" $hookName \\"$gitParams\\"
Expand Down Expand Up @@ -87,16 +87,16 @@ if [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"true\\" ] || [ \\"\${HUSKY_SKIP_HOOKS}\\" =
fi
if [ \\"\${HUSKY_USE_YARN}\\" = \\"true\\" ] || [ \\"\${HUSKY_USE_YARN}\\" = \\"1\\" ]; then
debug \\"calling husky through Yarn\\"
debug \\"Calling husky through Yarn\\"
yarn husky-run $hookName \\"$gitParams\\"
else
if [ -f \\"$scriptPath\\" ]; then
# if [ -t 1 ]; then
# exec < /dev/tty
# fi
if [ -f ~/.huskyrc ]; then
debug \\"source ~/.huskyrc\\"
debug \\"Sourcing '~/.huskyrc'\\"
. ~/.huskyrc
fi
node \\"$scriptPath\\" $hookName \\"$gitParams\\"
Expand Down

0 comments on commit 34c1161

Please sign in to comment.