Skip to content

Commit

Permalink
setup-util-node: fix 'bash: line 1: --2596: command not found'
Browse files Browse the repository at this point in the history
this broke with 7cb07ab however rosetta is no longer needed for lts, as lts now supports arm
  • Loading branch information
balupton committed Nov 3, 2023
1 parent b71a857 commit d61a9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/setup-util-node
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ function setup_util_node() (

function install_nvm_node {
# install
nvm-env nvm install --no-progress node || return # latest active
nvm-env --2596 nvm install --no-progress --lts || return # latest LTS
nvm-env nvm install --no-progress node || return # latest active
nvm-env nvm install --no-progress --lts || return # latest LTS

# set default node version
if is-brew; then
Expand Down

0 comments on commit d61a9e1

Please sign in to comment.