husky
Advanced tools
Comparing version 0.11.0 to 0.11.1
{ | ||
"name": "husky", | ||
"version": "0.11.0", | ||
"version": "0.11.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 @@ "main": "index.js", |
@@ -64,6 +64,6 @@ var fs = require('fs') | ||
// If nvm is installed, try to load it | ||
// This will load default version | ||
// This will load default Node version or version specified by .nvmrc | ||
arr = arr.concat([ | ||
'export NVM_DIR="' + home + '/.nvm"', | ||
'[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"' | ||
'[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && [ -f .nvmrc ] && nvm use', | ||
]) | ||
@@ -70,0 +70,0 @@ } |
9140