improve output when re-installing or switching node versions

This commit is contained in:
AJ ONeal
2020-06-13 15:17:05 -06:00
parent fe1e8f8ef8
commit 96012b4f24
-6
View File
@@ -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)"