[fix] `nvm run`: pass through `--silent` on bare `nvm run`

Jordan Harband 2016-05-04 00:58:08 -07:00
parent e8355e3189
commit a69f9a8898
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

@ -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