fixes asynchronous error with a pinky promise
parent
ec4c9768dd
commit
394992d447
|
|
@ -174,7 +174,7 @@ gulp.task('prepareDB', async function (done) {
|
|||
})
|
||||
|
||||
|
||||
function buildDB() {
|
||||
gulp.task('buildDB', function (done) {
|
||||
// Determine which source folders to process
|
||||
|
||||
const PACK_SRC = "src/packs/__source"
|
||||
|
|
@ -193,8 +193,9 @@ function buildDB() {
|
|||
|
||||
}
|
||||
resolve()
|
||||
done()
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
export default series(
|
||||
|
|
@ -204,5 +205,5 @@ export default series(
|
|||
copyAssets,
|
||||
buildStyles,
|
||||
gulp.task('prepareDB'),
|
||||
buildDB
|
||||
gulp.task('buildDB')
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue