mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-06-27 03:28:43 +00:00
[Tests] Source nvm.sh before defining FILE
This commit is contained in:
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
Block a user