Skip to content

Commit ba5637d

Browse files
committed
Assert that deps can be installed under node 0.8's npm (#2236)
1 parent c0f9be2 commit ba5637d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/ensure-compatible-npm.sh

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -o errexit
55

66
npm install semver
77
if node -e "process.exit(require('semver').lt(process.argv[1], '1.3.7') ? 0 : 1)" $(npm -v); then
8+
# make sure dependencies install with provided npm version
9+
npm install --production
810
npm install -g npm@2
911
npm install -g npm
1012
fi

0 commit comments

Comments
 (0)