mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-31 01:45:50 +08:00
[fix] nvm exec: show “io.js” for io.js versions.
This commit is contained in:
@@ -8,7 +8,7 @@ nvm use 0.10
|
||||
NPM_VERSION_TEN="$(npm --version)"
|
||||
TEST_STRING="foo bar"
|
||||
|
||||
nvm use 0.11.7 && [ "$(node --version)" = "v0.11.7" ] || die "\`nvm use\` failed!"
|
||||
nvm use 1.0.0 && [ "$(node --version)" = "v1.0.0" ] || die "\`nvm use\` failed!"
|
||||
|
||||
[ "$(nvm exec 0.10 npm --version | tail -1)" = "$NPM_VERSION_TEN" ] || die "`nvm exec` failed to run with the correct version"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user