[Tests] Source nvm.sh before defining FILE
parent
f607f2f783
commit
b02617028f
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
FILE="$NVM_DIR/default-packages"
|
||||
\. ../../../nvm.sh
|
||||
|
||||
FILE="$NVM_DIR/default-packages"
|
||||
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
setup () {
|
||||
if [ -f $FILE ]; then
|
||||
|
|
Loading…
Reference in New Issue