From 96012b4f24f8446c44f643c796bf1810d0434b6d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 13 Jun 2020 15:17:05 -0600 Subject: [PATCH] improve output when re-installing or switching node versions --- node/install.bash | 6 ------ 1 file changed, 6 deletions(-) diff --git a/node/install.bash b/node/install.bash index 7787b89..24a92d3 100644 --- a/node/install.bash +++ b/node/install.bash @@ -103,12 +103,6 @@ update_node_home() { webi_path_add "$common_node_home/bin" } -if [ -x "$new_node" ]; then - update_node_home - echo "switched to node v${WEBI_VERSION} at $new_node_home" - exit 0 -fi - # Test for existing version set +e cur_node="$(command -v node)" -- 2.25.1