File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,7 @@ nvm_ensure_version_installed() {
269
269
local NVM_VERSION_DIR
270
270
if [ " ${EXIT_CODE} " != " 0" ] || ! nvm_is_version_installed " ${LOCAL_VERSION} " ; then
271
271
VERSION=" $( nvm_resolve_alias " ${PROVIDED_VERSION} " ) "
272
+ # shellcheck disable=SC2181
272
273
if [ $? -eq 0 ]; then
273
274
nvm_err " N/A: version \" ${PROVIDED_VERSION} -> ${VERSION} \" is not yet installed."
274
275
nvm_err " "
@@ -663,6 +664,7 @@ nvm_alias() {
663
664
nvm_ls_current () {
664
665
local NVM_LS_CURRENT_NODE_PATH
665
666
NVM_LS_CURRENT_NODE_PATH=" $( command which node 2> /dev/null) "
667
+ # shellcheck disable=SC2181
666
668
if [ $? -ne 0 ]; then
667
669
nvm_echo ' none'
668
670
elif nvm_tree_contains_path " $( nvm_version_dir iojs) " " ${NVM_LS_CURRENT_NODE_PATH} " ; then
You can’t perform that action at this time.
0 commit comments