Permalink
Browse files

forward errors from prerunners in runAnalyze

  • Loading branch information...
1 parent 55faa29 commit a7c35d1d8710efdec2c884f7448c0d19b05580d7 @fb55 fb55 committed Sep 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/example-apps-test.js
@@ -17,7 +17,8 @@ function dependencies (file, prerunner) {
return function () {
var that = this;
- function runAnalyze () {
+ function runAnalyze (err) {
+ if(err) return that.callback(err);
analyzer.analyze({
target: path.join(__dirname, file)
},

0 comments on commit a7c35d1

Please sign in to comment.