Skip to content

Commit b510858

Browse files
chore: update Gulp to version 4 (#446)
1 parent ad6d5cf commit b510858

File tree

3 files changed

+1688
-774
lines changed

3 files changed

+1688
-774
lines changed

gulpfile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
var gulp = require('gulp');
22

33
var SOURCE_PACKAGE_JSON = './package.json';
4-
var DEST_PACKAGE_JSON = './build/npm'
4+
var DEST_PACKAGE_JSON = './build/npm';
55

66
var SOURCE_README = '*.md';
77
var DEST_README = './build/npm';
88

9-
gulp.task('default', function() {
10-
gulp.src(SOURCE_PACKAGE_JSON)
11-
.pipe(gulp.dest(DEST_PACKAGE_JSON));
9+
gulp.task('default', function (done) {
10+
gulp.src(SOURCE_PACKAGE_JSON).pipe(gulp.dest(DEST_PACKAGE_JSON));
1211

13-
gulp.src(SOURCE_README)
14-
.pipe(gulp.dest(DEST_README));
12+
gulp.src(SOURCE_README).pipe(gulp.dest(DEST_README));
13+
14+
done();
1515
});

0 commit comments

Comments
 (0)