[fix] `nvm run`: pass through `--silent` on bare `nvm run`
parent
e8355e3189
commit
a69f9a8898
4
nvm.sh
4
nvm.sh
|
@ -2178,9 +2178,9 @@ nvm() {
|
||||||
EXIT_CODE=$?
|
EXIT_CODE=$?
|
||||||
elif [ -z "$ARGS" ]; then
|
elif [ -z "$ARGS" ]; then
|
||||||
if [ "$NVM_IOJS" = true ]; then
|
if [ "$NVM_IOJS" = true ]; then
|
||||||
nvm exec "$VERSION" iojs
|
nvm exec "${NVM_SILENT-}" "$VERSION" iojs
|
||||||
else
|
else
|
||||||
nvm exec "$VERSION" node
|
nvm exec "${NVM_SILENT-}" "$VERSION" node
|
||||||
fi
|
fi
|
||||||
EXIT_CODE="$?"
|
EXIT_CODE="$?"
|
||||||
elif [ "$NVM_IOJS" = true ]; then
|
elif [ "$NVM_IOJS" = true ]; then
|
||||||
|
|
Loading…
Reference in New Issue