mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Merge f939adbedb
into ac9a52886d
This commit is contained in:
commit
5c5116a79e
2
nvm.sh
Normal file → Executable file
2
nvm.sh
Normal file → Executable file
@ -38,7 +38,7 @@ nvm_version()
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# If it looks like an explicit version, don't do anything funny
|
# If it looks like an explicit version, don't do anything funny
|
||||||
if [[ "$PATTERN" == v*.*.* ]]; then
|
if [[ "$PATTERN" == v?*.?*.?* ]]; then
|
||||||
VERSION="$PATTERN"
|
VERSION="$PATTERN"
|
||||||
fi
|
fi
|
||||||
# The default version is the current one
|
# The default version is the current one
|
||||||
|
Loading…
Reference in New Issue
Block a user