Skip to content

Commit

Permalink
feat: Skip if the version appears to be installed already
Browse files Browse the repository at this point in the history
  • Loading branch information
manlao committed Feb 9, 2022
1 parent 50ec724 commit ac1e771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/nodenv-aliases
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ update() {

if [ "$1" = "--upgrade" ]; then
nodenv uninstall -f "${REALPATH##*/}"
nodenv install "$ALIAS"
nodenv install -s "$ALIAS"
fi
fi
fi
Expand Down

0 comments on commit ac1e771

Please sign in to comment.