Skip to content
Snippets Groups Projects
Commit 02d72706 authored by Bob Mottram's avatar Bob Mottram
Browse files

No v in npm version

parent c4e5f013
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment