Commit c31bd679 authored by zeke's avatar zeke

redirect npm install's stderr to stdout

parent eae9a9df
...@@ -74,10 +74,10 @@ if test -d $cache_dir; then ...@@ -74,10 +74,10 @@ if test -d $cache_dir; then
fi fi
status "Installing dependencies" status "Installing dependencies"
npm install --production | indent npm install --production 2>&1 | indent
status "Pruning unused dependencies" status "Pruning unused dependencies"
npm prune | indent npm prune 2>&1 | indent
status "Caching node_modules for future builds" status "Caching node_modules for future builds"
rm -rf $cache_dir rm -rf $cache_dir
......
...@@ -59,7 +59,8 @@ testProfileCreated() { ...@@ -59,7 +59,8 @@ testProfileCreated() {
testInvalidDependency() { testInvalidDependency() {
compile "invalid-dependency" compile "invalid-dependency"
assertCapturedError 1 "not in the npm registry" assertCaptured "not in the npm registry"
assertCapturedError 1 ""
} }
testNodeModulesCached() { testNodeModulesCached() {
......
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