From a69f9a8898166c97db787b1e8f06fc021157b9e5 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 4 May 2016 00:58:08 -0700 Subject: [PATCH] [fix] `nvm run`: pass through `--silent` on bare `nvm run` --- nvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvm.sh b/nvm.sh index 07adb83..29390a3 100755 --- a/nvm.sh +++ b/nvm.sh @@ -2178,9 +2178,9 @@ nvm() { EXIT_CODE=$? elif [ -z "$ARGS" ]; then if [ "$NVM_IOJS" = true ]; then - nvm exec "$VERSION" iojs + nvm exec "${NVM_SILENT-}" "$VERSION" iojs else - nvm exec "$VERSION" node + nvm exec "${NVM_SILENT-}" "$VERSION" node fi EXIT_CODE="$?" elif [ "$NVM_IOJS" = true ]; then