mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-31 01:45:50 +08:00
Suppressing extraneous output from #622.
This commit is contained in:
2
nvm.sh
2
nvm.sh
@@ -1491,7 +1491,7 @@ $NVM_LS_REMOTE_IOJS_OUTPUT" | command grep -v "N/A" | sed '/^$/d')"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "! WARNING: Version '$3' does not exist." >&2
|
||||
fi
|
||||
echo "$3" | tee "$NVM_ALIAS_DIR/$2"
|
||||
echo "$3" | tee "$NVM_ALIAS_DIR/$2" >/dev/null
|
||||
if [ ! "_$3" = "_$VERSION" ]; then
|
||||
echo "$2 -> $3 (-> $VERSION)"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user