Skip to content

Commit

Permalink
Add husky version in debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Sep 28, 2019
1 parent db774d6 commit d421492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/installer/__tests__/__snapshots__/getScript.ts.snap
Expand Up @@ -23,6 +23,7 @@ debug() {
fi
}
debug \\"husky v3.0.6 (created at <locale date string>)\\"
debug \\"$hookName hook started\\"
if [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"true\\" ] || [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"1\\" ]; then
Expand Down Expand Up @@ -79,6 +80,7 @@ debug() {
fi
}
debug \\"husky v3.0.6 (created at <locale date string>)\\"
debug \\"$hookName hook started\\"
if [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"true\\" ] || [ \\"\${HUSKY_SKIP_HOOKS}\\" = \\"1\\" ]; then
Expand Down
1 change: 1 addition & 0 deletions src/installer/getScript.ts
Expand Up @@ -52,6 +52,7 @@ debug() {
fi
}
debug "husky v${version} (created at ${createdAt})"
debug "$hookName hook started"
if [ "$\{HUSKY_SKIP_HOOKS}" = "true" ] || [ "$\{HUSKY_SKIP_HOOKS}" = "1" ]; then
Expand Down

0 comments on commit d421492

Please sign in to comment.