Skip to content

Commit

Permalink
fix: properly call async function
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Oct 3, 2019
1 parent 609f814 commit e87d81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/saber/vue-renderer/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class VueRenderer {
routes.map(async route => {
log.info('Generating', path.relative(outDir, route.outputFilePath))
try {
const { context, html } = renderHTML(renderer, {
const { context, html } = await renderHTML(renderer, {
url: route.permalink,
isProd: true,
hooks: this.api.hooks
Expand Down

0 comments on commit e87d81f

Please sign in to comment.