No v in npm version
This commit is contained in:
parent
c4e5f01359
commit
02d7270647
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue