From bf24f564343d0174e61ef31615abe4f86ae3aa03 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 17 Oct 2016 15:55:16 +0100 Subject: [PATCH] Use repo dir for NVM_DIR so we don't mess with global nvm installations --- .gitignore | 1 + tests/common.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 49b3b8a..718a0f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ tests/.urchin.log +.nvm previous_version diff --git a/tests/common.sh b/tests/common.sh index 70c8f73..d57621d 100644 --- a/tests/common.sh +++ b/tests/common.sh @@ -1,5 +1,6 @@ export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) export repo_dir="$test_dir/.." +export NVM_DIR="$repo_dir/.nvm" die () { echo $@