From 02d727064792671b3795654efd554026691621d8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 4 Dec 2017 11:47:48 +0000 Subject: [PATCH] No v in npm version --- src/freedombone-utils-nodejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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