Comparing version 3.0.2 to 3.0.3
@@ -54,6 +54,2 @@ "use strict"; | ||
} | ||
if (command) { | ||
console.log(`husky > ${hookName} (node ${process.version})`); | ||
execa_1.default.shellSync(command, { cwd, env, stdio: 'inherit' }); | ||
} | ||
if (oldCommand) { | ||
@@ -67,4 +63,6 @@ console.log(); | ||
console.log(); | ||
} | ||
if (command || oldCommand) { | ||
console.log(`husky > ${hookName} (node ${process.version})`); | ||
execa_1.default.shellSync(oldCommand, { cwd, env, stdio: 'inherit' }); | ||
execa_1.default.shellSync(command || oldCommand, { cwd, env, stdio: 'inherit' }); | ||
} | ||
@@ -71,0 +69,0 @@ return 0; |
{ | ||
"name": "husky", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -60,3 +60,3 @@ "bin": { | ||
"pkg-dir": "^4.2.0", | ||
"please-upgrade-node": "^3.1.1", | ||
"please-upgrade-node": "^3.2.0", | ||
"read-pkg": "^5.1.1", | ||
@@ -63,0 +63,0 @@ "run-node": "^1.0.0", |
@@ -1,3 +0,7 @@ | ||
# Announcement: Husky is on [Open Collective](https://opencollective.com/husky) 🎉 | ||
--- | ||
# Announcement | ||
__Next release__ you can support the development of v4 major release on [Open Collective](https://opencollective.com/husky) and [GitHub Sponsors](https://github.com/users/typicode/sponsorship) 🎉 | ||
--- | ||
@@ -7,3 +11,3 @@ | ||
[![Financial Contributors on Open Collective](https://opencollective.com/husky/all/badge.svg?label=financial+contributors)](https://opencollective.com/husky) [![](https://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/husky.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/husky) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/husky/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/husky) | ||
[![Financial Contributors on Open Collective](https://opencollective.com/husky/all/badge.svg?label=financial+contributors)](https://opencollective.com/husky) [![](https://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/husky/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/husky) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/husky/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/husky) | ||
@@ -10,0 +14,0 @@ > Git hooks made easy |
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
42697
145
578
Updatedplease-upgrade-node@^3.2.0