Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sensuikan1973 authored Jan 4, 2024
1 parent b69c7ce commit 2ea88a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nodejs/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ curl -fsSL https://github.com/nodenv/nodenv-installer/raw/master/bin/nodenv-doct

# https://yarnpkg.com/getting-started/install
# for https://github.com/sensuikan1973/pedax/tree/main/website
if [ which node ] && [ which corepack ]; then
corepack enable
if which corepack ; then
if $(node --version); then
corepack enable
fi
fi

0 comments on commit 2ea88a0

Please sign in to comment.