mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Include errors, this is useful in reporting success %
This commit is contained in:
parent
1c4978db4f
commit
9aa6722512
@ -67,7 +67,7 @@ export default class Generator {
|
||||
await Promise.all(routes.splice(0, this.options.generate.concurrency).map(async ({ route, payload }) => {
|
||||
await waitFor(n++ * this.options.generate.interval)
|
||||
await this.generateRoute({ route, payload, errors })
|
||||
await this.applyPluginsAsync('generated-route', { generator: this, routes, route })
|
||||
await this.applyPluginsAsync('generated-route', { generator: this, routes, route, errors })
|
||||
}))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user