Comparing version 0.13.2 to 0.13.3-0
# CHANGELOG | ||
## 0.13.2 | ||
* Fixes issue [#103](https://github.com/typicode/husky/issues/103) | ||
## 0.13.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "husky", | ||
"version": "0.13.2", | ||
"version": "0.13.3-0", | ||
"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 @@ "main": "./src/index.js", |
@@ -41,3 +41,3 @@ # husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Build Status](https://travis-ci.org/typicode/husky.svg?branch=master)](https://travis-ci.org/typicode/husky) | ||
* [Hotel](https://github.com/typicode/hotel) | ||
* ... and more than 2000+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories). | ||
* ... and more than 2600+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories). | ||
@@ -96,4 +96,8 @@ ## Uninstall | ||
## See also | ||
* [pkg-ok](https://github.com/typicode/pkg-ok) - prevents publishing modules with bad paths | ||
## License | ||
MIT - [Typicode :cactus:](https://github.com/typicode) |
@@ -89,3 +89,3 @@ var fs = require('fs') | ||
// Add | ||
// Brew standard installation path /use/local/bin | ||
// Brew standard installation path /usr/local/bin | ||
// Node standard installation path /usr/local | ||
@@ -101,3 +101,3 @@ // for GUI apps | ||
arr = arr.concat([ | ||
'command_exists npm || load_nvm BREW_NVM_DIR /usr/local/opt/nvm', | ||
'load_nvm BREW_NVM_DIR /usr/local/opt/nvm', | ||
'' | ||
@@ -108,3 +108,3 @@ ]) | ||
arr = arr.concat([ | ||
'command_exists npm || load_nvm NVM_DIR ' + home + '/.nvm', | ||
'load_nvm NVM_DIR ' + home + '/.nvm', | ||
'' | ||
@@ -125,2 +125,3 @@ ]) | ||
var scriptName = hookName.replace(/-/g, '') | ||
arr = arr.concat([ | ||
@@ -144,3 +145,3 @@ // Test if npm is in PATH | ||
' echo "> husky - ' + hookName + ' hook failed (add --no-verify to bypass)"', | ||
' echo "> husky - to debug, use \'npm run precommit\'"', | ||
' echo "> husky - to debug, use \'npm run ' + scriptName + '\'"', | ||
' exit 1', | ||
@@ -147,0 +148,0 @@ '}', |
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
17330
341
102