Skip to content

Commit 36c5157

Browse files
committed
setup-util-node: fix upgrades failing
uncovered bug from 2023 c1ba02b which was unearthed by 06c1885 as EVAL_UPGRADE was never being called before, and now that it is called, the missing function got called the solution is to just do what was intended is to have upgrade and install behave the same for it
1 parent ef8eb77 commit 36c5157

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎commands/setup-util-node‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ function setup_util_node() (
167167
upgrade_system_or_nvm_npm
168168
__print_style --g3='Upgrade npm'
169169
}
170-
function node_upgrade {
171-
install_node
172-
}
173170
function node_uninstall {
174171
setup_system_node --uninstall
175172
__wipe_nvm
@@ -180,7 +177,6 @@ function setup_util_node() (
180177
--cli='node'
181178
"$@"
182179
EVAL_INSTALL='node_install'
183-
EVAL_UPGRADE='node_upgrade'
184180
EVAL_UNINSTALL='node_uninstall'
185181
)
186182
setup_util "${options[@]}"

0 commit comments

Comments
 (0)