Skip to content

Commit d024482

Browse files
Review update: Use single quote for literal comparision
Co-authored-by: Jordan Harband <[email protected]>
1 parent 07fdf8b commit d024482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ nvm_ensure_version_installed() {
529529
nvm_err "N/A: version \"${PREFIXED_VERSION:-$PROVIDED_VERSION}\" is not yet installed."
530530
fi
531531
nvm_err ""
532-
if [ "${IS_VERSION_FROM_NVMRC}" != "1" ]; then
532+
if [ "${IS_VERSION_FROM_NVMRC}" != '1' ]; then
533533
nvm_err "You need to run \`nvm install ${PROVIDED_VERSION}\` to install and use it."
534534
else
535535
nvm_err 'You need to run `nvm install` to install and use the node version specified in `.nvmrc`.'

0 commit comments

Comments
 (0)