mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
This fixes an issue with the CI stats plugin using `tapAsync` instead of
`tapPromise`. It appears that if callback() is not called in
`tapAsync`, the entrypoint is not written to disk.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit af58ee866d
)
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
This commit is contained in:
parent
7679ff4576
commit
b242ba6b8d
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export class CiStatsPlugin {
|
|||
return;
|
||||
}
|
||||
|
||||
compiler.hooks.emit.tapAsync('CiStatsPlugin', async (compilation) => {
|
||||
compiler.hooks.emit.tapPromise('CiStatsPlugin', async (compilation) => {
|
||||
const { entryName } = this.options;
|
||||
|
||||
const assets = Object.entries(compilation.assets)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue