Comparing version 0.5.0 to 0.5.1
@@ -11,7 +11,7 @@ // Run when package is installed | ||
if (fs.existsSync(dir)) { | ||
husky.create(dir, 'pre-commit', 'npm run precommit') | ||
husky.create(dir, 'pre-push', 'npm run prepush') | ||
husky.create(dir, 'pre-commit', 'npm run precommit --silent') | ||
husky.create(dir, 'pre-push', 'npm run prepush --silent') | ||
console.log(' done\n') | ||
} else { | ||
console.log(' can\'t find .git/hooks/\n') | ||
} | ||
} |
{ | ||
"name": "husky", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit, pre-push and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,4 +23,3 @@ var fs = require('fs') | ||
' echo', | ||
' echo "husky"', | ||
' echo " To bypass ' + name + ' hook add -n or --no-verify"', | ||
' echo "husky - ' + name + ' hook failed (add -n to bypass)"', | ||
' echo', | ||
@@ -27,0 +26,0 @@ ' exit 1', |
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
5281