We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2465137 commit 100ad1eCopy full SHA for 100ad1e
src/index.js
@@ -90,6 +90,14 @@ module.exports = {
90
// Test if nvm is in PATH and load version specified by .nvmrc
91
'command -v nvm >/dev/null 2>&1 && [ -f .nvmrc ] && nvm use'
92
])
93
+ } else {
94
+ // Add
95
+ // Node standard installation path /c/Program Files/nodejs
96
+ // for GUI apps
97
+ // https://github.com/typicode/husky/issues/49
98
+ arr = arr.concat([
99
+ 'export PATH="$PATH:/c/Program Files/nodejs"'
100
+ ])
101
}
102
103
// Can't find npm message
0 commit comments