From 474a94b48eeb1a72f6d2c2360406b5af1f794ebb Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 18 Jan 2017 14:38:33 +0900 Subject: [PATCH] Fix #38 --- gulpfile.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index 1bd78d7d6..d7cb4f83a 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -155,7 +155,7 @@ gulp.task('build:client', [ } }); -gulp.task('build:client:scripts', async (done) => { +gulp.task('build:client:scripts', () => new Promise(async (ok) => { // Get commit info const commit = await prominence(git).getLastCommit(); @@ -214,8 +214,8 @@ gulp.task('build:client:scripts', async (done) => { .pipe(gulp.dest('./built/web/resources/')); }); - es.merge(tasks).on('end', done); -}); + es.merge(tasks).on('end', ok); +})); gulp.task('build:client:styles', () => gulp.src('./src/web/app/**/*.styl')