Skip to content

Commit

Permalink
fix prod task callback
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed Nov 4, 2015
1 parent 0594004 commit bbd6621
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulp/tasks/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import gulp from 'gulp';
import runSequence from 'run-sequence';

gulp.task('prod', ['clean'], function(cb = function() {}) {
gulp.task('prod', ['clean'], function(cb) {

cb = cb || function() {};

global.isProd = true;

Expand Down

0 comments on commit bbd6621

Please sign in to comment.