Comparing version 1.1.1 to 1.1.2
# CHANGELOG | ||
## 1.1.2 | ||
* Add debug message | ||
## 1.1.1 | ||
@@ -4,0 +8,0 @@ |
@@ -7,4 +7,4 @@ "use strict"; | ||
// Just for testing | ||
if (process.env.HUSKY_DEBUG) { | ||
console.log(process.env.INIT_CWD); | ||
if (process.env.HUSKY_DEBUG === 'true') { | ||
console.log(`husky:debug INIT_CWD=${process.env.INIT_CWD}`); | ||
} | ||
@@ -11,0 +11,0 @@ // Action can be "install" or "uninstall" |
@@ -17,2 +17,6 @@ "use strict"; | ||
gitParams="$*" | ||
if [ "$\{HUSKY_DEBUG\}" = "true" ]; then | ||
echo "husky:debug $hookName hook started..." | ||
fi | ||
${platform !== 'win32' | ||
@@ -19,0 +23,0 @@ ? ` |
{ | ||
"name": "husky", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34021
466