diff options
| author | Peter Bacon Darwin | 2014-03-07 05:33:21 +0000 |
|---|---|---|
| committer | Brian Ford | 2014-03-07 15:08:42 -0800 |
| commit | 021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c (patch) | |
| tree | f7d8e5db9b36e973009ee72dc2b181c8de234b6f /docs/gulpfile.js | |
| parent | e8c8c5459e552d795fe9995038a5090efa727098 (diff) | |
| download | angular.js-021d3aa21a4b7f2ea69a4a9bff7a7ff7986d343c.tar.bz2 | |
chore(doc-gen): improve error reporting
Diffstat (limited to 'docs/gulpfile.js')
| -rw-r--r-- | docs/gulpfile.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/gulpfile.js b/docs/gulpfile.js index caef1a89..c47c04f5 100644 --- a/docs/gulpfile.js +++ b/docs/gulpfile.js @@ -49,7 +49,11 @@ gulp.task('assets', ['bower'], function() { gulp.task('doc-gen', function() { - return docGenerator('docs.config.js').generateDocs(); + return docGenerator('docs.config.js') + .generateDocs() + .catch(function(error) { + process.exit(1); + }); }); // JSHint the example and protractor test files |
