Skip to content

Commit

Permalink
Abort on parse errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Feb 27, 2017
1 parent 52d9a02 commit 1e6ca6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/build_loader.js
Expand Up @@ -55,6 +55,9 @@ exports.discover = function (options, callback) {
return callback(err);
}
filterDependencies(manifest.modules, options, function(err, modules) {
if (err) {
return callback(err);
}
var contents = serialize(modules, options);
callback(err, contents);
});
Expand Down

0 comments on commit 1e6ca6e

Please sign in to comment.