From 03c29851efff45c105fa7f131c14310a4c2d0ddf Mon Sep 17 00:00:00 2001 From: pimlie Date: Mon, 16 Oct 2017 11:24:52 +0200 Subject: [PATCH] missing await for postGenerate method --- lib/builder/generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/generator.js b/lib/builder/generator.js index fec70335b2..36684fec26 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -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)