Skip to content

Commit

Permalink
fixed react:extract-errors task in gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
keyz committed Oct 18, 2016
1 parent 6b75c30 commit 091c561
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ gulp.task('react:modules', function() {
});

gulp.task('react:extract-errors', function() {
return merge(
gulp.src(paths.react.src).pipe(extractErrors(errorCodeOpts)),
gulp.src(paths.reactDOM.src).pipe(extractErrors(errorCodeOpts)),
gulp.src(paths.reactNative.src).pipe(extractErrors(errorCodeOpts)),
gulp.src(paths.reactTestRenderer.src).pipe(extractErrors(errorCodeOpts))
);
return gulp.src([].concat(
paths.react.src,
paths.reactDOM.src,
paths.reactNative.src,
paths.reactTestRenderer.src
)).pipe(extractErrors(errorCodeOpts));
});

gulp.task('default', ['react:modules']);

0 comments on commit 091c561

Please sign in to comment.