From e1f3cd638f3aa59c1764c6a95c7faa4471ceb615 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 18 Sep 2017 19:16:28 -0700 Subject: [PATCH] Don't forward arguments to nvh.sh --- scripts/test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 133d18a0..c7c44ba9 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -234,13 +234,13 @@ trap cleanup EXIT # Use a consistent version of Node if possible. if [[ -z "$(command -v nvm)" ]]; then if [ -f "$NVM_DIR/nvm.sh" ]; then - . "$NVM_DIR/nvm.sh" || true + . "$NVM_DIR/nvm.sh" '' || true elif [ -x "$(command -v brew)" ] && [ -f "$(brew --prefix nvm)/nvm.sh" ]; then # we must be on mac and nvm was installed with brew # TODO: change the mac slaves to use manual nvm installation - . "$(brew --prefix nvm)/nvm.sh" || true + . "$(brew --prefix nvm)/nvm.sh" '' || true elif [ -f "$HOME/.nvm/nvm.sh" ]; then - . ~/.nvm/nvm.sh + . ~/.nvm/nvm.sh '' fi fi if [[ "$(command -v nvm)" ]]; then