SIGN IN SIGN UP
nvm-sh / nvm UNCLAIMED

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

0 0 80 Shell

[Tests] set `$_` before sourcing `nvm.sh` in fast tests

nvm.sh uses `NVM_SCRIPT_SOURCE="$_"` to detect its source location.
Adding `: nvm.sh` before each source line ensures `$_` is set correctly, preventing breakage when the previous command (e.g., `set -ex`) overwrites it.
J
Jordan Harband committed
c451e7a4c883de3e8b5b2298c42425804531a25f
Parent: 9ba422e