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

Commit ccdfa77

Browse files
committed
fix(gulp): add missing callback arg
Also change `callback` to `cb` to make it consistent.
1 parent 5af573c commit ccdfa77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/common/root/_gulpfile.js

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)