Skip to content

Commit

Permalink
forward errors from prerunners in runAnalyze
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Sep 7, 2012
1 parent 55faa29 commit a7c35d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/example-apps-test.js
Expand Up @@ -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)
},
Expand Down

0 comments on commit a7c35d1

Please sign in to comment.