Commit d83a70fd authored by Hunter Loftis's avatar Hunter Loftis

npm prune does not fully support npm shrinkwrap

parent 8010e251
......@@ -13,8 +13,6 @@ install_node_modules() {
if [ -e $build_dir/package.json ]; then
cd $build_dir
echo "Pruning any extraneous modules"
npm prune --unsafe-perm --userconfig $build_dir/.npmrc 2>&1
if [ -e $build_dir/npm-shrinkwrap.json ]; then
echo "Installing node modules (package.json + shrinkwrap)"
else
......
......@@ -214,7 +214,6 @@ testModulesCheckedIn() {
assertCaptured "(preinstall script)"
assertCaptured "Installing any new modules"
assertCaptured "(postinstall script)"
assertNotCaptured "Pruning any extraneous modules"
assertCapturedSuccess
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment