fix(gulp): add missing callback arg · yeoman/generator-angular@ccdfa77

This repository was archived by the owner on Mar 26, 2018. It is now read-only.

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -126,11 +126,11 @@ gulp.task('watch', function () {

126126

gulp.watch('bower.json', ['bower']);

127127

});

128128
129-

gulp.task('serve', function (callback) {

129+

gulp.task('serve', function (cb) {

130130

runSequence('clean:tmp',

131131

['lint:scripts'],

132132

['start:client'],

133-

'watch', callback);

133+

'watch', cb);

134134

});

135135
136136

gulp.task('serve:prod', function() {

@@ -164,7 +164,7 @@ gulp.task('bower', function () {

164164

// Build //

165165

///////////

166166
167-

gulp.task('clean:dist', function () {

167+

gulp.task('clean:dist', function (cb) {

168168

rimraf('./dist', cb);

169169

});

170170