Comparing version 1.1.0 to 1.1.1
# Backers | ||
To view the list of all the __amazing people and companies__ supporting Husky and my Open Source projects, please visit: | ||
[thanks.typicode.com](http://thanks.typicode.com) | ||
🌵 | ||
[thanks.typicode.com](http://thanks.typicode.com) 🌵 |
# CHANGELOG | ||
## 1.1.1 | ||
* Check `HUSKY_SKIP_INSTALL` value first before checking if `.git` exists | ||
* Check Node version before running hooks | ||
## 1.1.0 | ||
@@ -4,0 +9,0 @@ |
@@ -0,0 +0,0 @@ # Documentation |
@@ -0,0 +0,0 @@ const pleaseUpgradeNode = require('please-upgrade-node') |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -44,5 +44,5 @@ "use strict"; | ||
const { version } = JSON.parse(fs.readFileSync(path.join(__dirname, '../../package.json'), 'utf-8')); | ||
const script = slash(path.join(path.relative(rootDir, huskyDir), 'lib/runner/bin')); | ||
const script = slash(path.join(path.relative(rootDir, huskyDir), 'run')); | ||
return render({ node, platform, script, version }); | ||
} | ||
exports.default = default_1; |
@@ -110,2 +110,6 @@ "use strict"; | ||
// Checks | ||
if (process.env.HUSKY_SKIP_INSTALL === 'true') { | ||
console.log("HUSKY_SKIP_INSTALL environment variable is set to 'true',", 'skipping Git hooks installation.'); | ||
return; | ||
} | ||
if (gitDirOrFile === null) { | ||
@@ -120,6 +124,2 @@ console.log("Can't find .git, skipping Git hooks installation."); | ||
} | ||
if (process.env.HUSKY_SKIP_INSTALL === 'true') { | ||
console.log("HUSKY_SKIP_INSTALL environment variable is set to 'true',", 'skipping Git hooks installation.'); | ||
return; | ||
} | ||
if (isCI && conf.skipCI) { | ||
@@ -126,0 +126,0 @@ console.log('CI detected, skipping Git hooks installation.'); |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "husky", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"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": { |
@@ -0,0 +0,0 @@ # husky |
Sorry, the diff of this file is not supported yet
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
33853
18
463