No v in npm version

This commit is contained in:
Bob Mottram 2017-12-04 11:47:48 +00:00
parent c4e5f01359
commit 02d7270647
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ if [[ "\$node_version" != "v${NODEJS_VERSION}" ]]; then
exit 1 exit 1
fi fi
npm_version=\$(npm -v) 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" echo $"npm version expected to be ${NPM_VERSION} but found \$npm_version"
exit 2 exit 2
fi fi