diff --git a/src/freedombone-utils-nodejs b/src/freedombone-utils-nodejs index c5d94db2..626fe229 100755 --- a/src/freedombone-utils-nodejs +++ b/src/freedombone-utils-nodejs @@ -144,7 +144,7 @@ if [[ "\$node_version" != "v${NODEJS_VERSION}" ]]; then exit 1 fi npm_version=\$(npm -v) -if [[ "\$npm_version" != "v${NPM_VERSION}" ]]; then +if [[ "\$npm_version" != "${NPM_VERSION}" ]]; then echo $"npm version expected to be ${NPM_VERSION} but found \$npm_version" exit 2 fi