You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jordan Harband
2a513a1bc0
[Fix] `nvm_ls`: Reverts #1462 to fix io.js sorting.
<details>
<summary>Before this revert:</summary>
```sh
iojs-v3.3.1
iojs-v2.5.0
v0.6.21
v0.7.12
iojs-v1.8.4
v0.8.28
v0.9.12
v0.10.48
v0.11.16
v0.12.9
v0.12.18
v0.12.87
v4.9.1
v5.11.1
v5.12.0
v6.14.4
v6.16.0
v7.10.1
v8.6.0
v8.9.1
v8.10.0
v8.11.3
v8.11.4
v8.12.0
v8.13.0
v8.14.1
v8.15.0
v9.11.2
v10.0.0
v10.1.0
v10.2.1
v10.3.0
v10.4.1
v10.5.0
v10.6.0
v10.7.0
v10.8.0
v10.9.0
v10.10.0
v10.11.0
v10.12.0
v10.13.0
v10.14.2
v10.15.1
v11.0.0
v11.1.0
v11.2.0
v11.3.0
v11.4.0
v11.5.0
v11.6.0
v11.7.0
v11.8.0
v11.9.0
v11.10.0
```
</details>
<details>
<summary>After this revert:</summary>
```sh
v0.6.21
v0.7.12
v0.8.28
v0.9.12
v0.10.48
v0.11.16
v0.12.9
v0.12.18
v0.12.87
iojs-v1.8.4
iojs-v2.5.0
iojs-v3.3.1
v4.9.1
v5.11.1
v5.12.0
v6.14.4
v6.16.0
v7.10.1
v8.6.0
v8.9.1
v8.10.0
v8.11.3
v8.11.4
v8.12.0
v8.13.0
v8.14.1
v8.15.0
v9.11.2
v10.0.0
v10.1.0
v10.2.1
v10.3.0
v10.4.1
v10.5.0
v10.6.0
v10.7.0
v10.8.0
v10.9.0
v10.10.0
v10.11.0
v10.12.0
v10.13.0
v10.14.2
v10.15.1
v11.0.0
v11.1.0
v11.2.0
v11.3.0
v11.4.0
v11.5.0
v11.6.0
v11.7.0
v11.8.0
v11.9.0
v11.10.0
```
</details>
In other words, the sorting needs to happen *before* the `NVM_NODE_PREFIX` is removed.
|
6 years ago |
.. |
Running "nvm ls 0.0.2" should display only version 0.0.2.
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls 0.2" should display only 0.2.x versions.
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls foo" should return a nonzero exit code when not found
|
[Tests] Replace all dots with backslash dots
|
8 years ago |
Running "nvm ls io" should return NA
|
[Tests] Replace all dots with backslash dots
|
8 years ago |
Running "nvm ls node_" should return a nonzero exit code when not found
|
[Tests] Replace all dots with backslash dots
|
8 years ago |
Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls system" should include "system" when appropriate
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls" should display all installed versions.
|
[Fix] `nvm_ls`: Reverts #1462 to fix io.js sorting.
|
6 years ago |
Running "nvm ls" should filter out ".nvm"
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls" should filter out "versions"
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls" should include "system" when appropriate
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls" should list versions in the "versions" directory
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Running "nvm ls" with node-like versioning vx.x.x should only list a matched version
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
Using a nonstandard IFS should not break
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |
teardown
|
[Tests] update most mkdirs to use make_fake_{node,iojs}
|
7 years ago |