[Tests] Source nvm.sh before defining FILE

This commit is contained in:
Magnus Markling authored and Jordan Harband committed 2020-03-19 12:13:29 +01:00
1 parent f607f2f783
commit b02617028f
1 file changed
+2 -1
@@ -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