Skip to content

Commit 7276797

Browse files
committed
Fixing issue when node version passed as none.
1 parent 13fb2fd commit 7276797

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/node/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,9 @@ else
362362
fi
363363

364364
# Possibly install yarn (puts yarn in per-Node install on RHEL, uses system yarn on Debian)
365-
install_yarn
365+
if [ -n "${NODE_VERSION}" ] && [ "${NODE_VERSION}" != "none" ]; then
366+
install_yarn
367+
fi
366368

367369
# Additional node versions to be installed but not be set as
368370
# default we can assume the nvm is the group owner of the nvm

0 commit comments

Comments
 (0)