mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +00:00
missing await for postGenerate method
This commit is contained in:
parent
5f5325c528
commit
03c29851ef
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user