missing await for postGenerate method

This commit is contained in:
pimlie 2017-10-16 11:24:52 +02:00
parent 5f5325c528
commit 03c29851ef

View File

@ -29,7 +29,7 @@ export default class Generator extends Tapable {
await this.initiate({ build: build, init: init })
const routes = await this.initRoutes()
const errors = await this.generateRoutes(routes)
this.postGenerate()
await this.postGenerate()
const duration = Math.round((Date.now() - s) / 100) / 10
this.printReport(duration, errors)