Shell-quoting some more things.
parent
145da7eef8
commit
4a8a5a1180
4
nvm.sh
4
nvm.sh
|
@ -765,13 +765,13 @@ nvm() {
|
||||||
shift
|
shift
|
||||||
|
|
||||||
local provided_version
|
local provided_version
|
||||||
provided_version=$1
|
provided_version="$1"
|
||||||
if [ -n "$provided_version" ]; then
|
if [ -n "$provided_version" ]; then
|
||||||
VERSION=`nvm_version $provided_version`
|
VERSION=`nvm_version $provided_version`
|
||||||
if [ $VERSION = "N/A" ]; then
|
if [ $VERSION = "N/A" ]; then
|
||||||
provided_version=''
|
provided_version=''
|
||||||
nvm_rc_version
|
nvm_rc_version
|
||||||
VERSION=`nvm_version $NVM_RC_VERSION`
|
VERSION="$(nvm_version "$NVM_RC_VERSION")"
|
||||||
else
|
else
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue