NODE_VERSION taks preference over NODEJS_VER

This commit is contained in:
AJ ONeal 2018-09-14 06:49:59 +00:00
parent b8acbae85f
commit 895dcd31f2
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ fi
NODE_VERSION=${NODE_VERSION:-}
NODEJS_VER=${NODEJS_VER:-}
if [ -z "${NODEJS_VER:-}" ]; then
if [ -n "$NODE_VERSION" ]; then
NODEJS_VER=$NODE_VERSION
fi