Sign in
cobalt
/
third_party
/
nvm
/
788d87774ff133f8bedb57b778896cc63bac1ca9
/
.
/
test
/
fast
/
Listing versions
/
Running "nvm ls 0.2" should display only 0.2.x versions.
blob: 5a3d450529e2ffb4ab311a71790f38cbf7d0d5a0 [
file
] [
log
] [
blame
]
#!/bin/sh
mkdir
../../../
v0
.
1.3
mkdir
../../../
v0
.
2.3
.
../../../
nvm
.
sh
# The result should contain only the appropriate version numbers.
nvm ls
0.2
|
grep v0
.
2.3
&&
nvm ls
0.1
|
grep
-
v v0
.
2.3