mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +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=$?
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user