Skip to content
Myr

Silencing error outputs as well (for consistency and following after things like curl)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Alan Quach · committed by Alan Quach · parent 88a5078 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:nvm.sh+2 added-2 removed
1474 unmodified lines
1475 elif nvm_has_system_iojs && nvm deactivate >/dev/null 2>&1; then1476 [ $silent -ne 1 ] && echo "Now using system version of io.js: $(iojs --version 2>/dev/null)$(nvm_print_npm_version)"1477 return1478 else1479 echo "System version of node not found." >&21479 [ $silent -ne 1 ] && echo "System version of node not found." >&21480 return 1271481 fi1482 elif [ "_$VERSION" = "_∞" ]; then1483 echo "The alias \"$PROVIDED_VERSION\" leads to an infinite loop. Aborting." >&21483 [ $silent -ne 1 ] && echo "The alias \"$PROVIDED_VERSION\" leads to an infinite loop. Aborting." >&21484 return 81485 fi14861487 # This nvm_ensure_version_installed call can be a performance bottleneck
410 unmodified lines