mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-29 16:35:51 +08:00
[Tests] force the NVM_DIR to the expected location, for tests
This commit is contained in:
@@ -4,6 +4,8 @@ set -ex
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
export NVM_DIR="$(cd ../.. && pwd)"
|
||||
|
||||
\. ../../nvm.sh
|
||||
|
||||
set +ex # needed for stderr
|
||||
|
||||
Reference in New Issue
Block a user