mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
[fix] nvm run
: pass through --silent
on bare nvm run
This commit is contained in:
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
Block a user