diff options
| author | Peter Bacon Darwin | 2014-03-07 05:33:21 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-07 10:41:48 +0000 |
| commit | 486f1b4e5117584824ed67ebea7572cf13f09d72 (patch) | |
| tree | 3b0fdad333028c36e7f6fd9681603bd88df41148 /docs/gulpfile.js | |
| parent | c5f2f583ab24f359041b3babf2655f98e40b6c5b (diff) | |
| download | angular.js-486f1b4e5117584824ed67ebea7572cf13f09d72.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 |
