From ac1e771034672af01a6d5e11938a9b19270a0515 Mon Sep 17 00:00:00 2001 From: Sean Tu Date: Wed, 9 Feb 2022 19:25:28 +0800 Subject: [PATCH] feat: Skip if the version appears to be installed already --- bin/nodenv-aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nodenv-aliases b/bin/nodenv-aliases index 89a98a1..7d22009 100755 --- a/bin/nodenv-aliases +++ b/bin/nodenv-aliases @@ -194,7 +194,7 @@ update() { if [ "$1" = "--upgrade" ]; then nodenv uninstall -f "${REALPATH##*/}" - nodenv install "$ALIAS" + nodenv install -s "$ALIAS" fi fi fi