parent
0f1f3ed29c
commit
59e27f8108
3
nvm.sh
3
nvm.sh
|
@ -1090,11 +1090,10 @@ nvm() {
|
||||||
|
|
||||||
local PATTERN
|
local PATTERN
|
||||||
PATTERN="$2"
|
PATTERN="$2"
|
||||||
local VERSION
|
|
||||||
case "_$PATTERN" in
|
case "_$PATTERN" in
|
||||||
"_$(nvm_iojs_prefix)" | "_$(nvm_iojs_prefix)-" \
|
"_$(nvm_iojs_prefix)" | "_$(nvm_iojs_prefix)-" \
|
||||||
| "_$(nvm_node_prefix)" | "_$(nvm_node_prefix)-")
|
| "_$(nvm_node_prefix)" | "_$(nvm_node_prefix)-")
|
||||||
VERSION="$(nvm_version $PATTERN)"
|
VERSION="$(nvm_version "$PATTERN")"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
VERSION="$(nvm_version "$PATTERN")"
|
VERSION="$(nvm_version "$PATTERN")"
|
||||||
|
|
Loading…
Reference in New Issue