kopia lustrzana https://github.com/c9/core
fix npm
rodzic
4332914dca
commit
fa74b0bdc4
|
@ -38,6 +38,7 @@ _b9_init_nodejs() {
|
||||||
_b9_init_npm() {
|
_b9_init_npm() {
|
||||||
local NPM
|
local NPM
|
||||||
|
|
||||||
|
. ~/.nvm/nvm.sh &> /dev/null || :
|
||||||
for NPM in $(which npm) /usr/local/bin/npm /usr/bin/npm; do
|
for NPM in $(which npm) /usr/local/bin/npm /usr/bin/npm; do
|
||||||
[ -x $NPM ] && break
|
[ -x $NPM ] && break
|
||||||
NPM=""
|
NPM=""
|
||||||
|
|
Ładowanie…
Reference in New Issue