Skip to content

Commit d099b5d

Browse files
fix: display errors and warnings (#297)
1 parent 3612143 commit d099b5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ class ESLintWebpackPlugin {
152152
});
153153

154154
// await and interpret results
155-
compilation.hooks.additionalAssets.tapAsync(
155+
compilation.hooks.processAssets.tapAsync(
156156
this.key,
157-
async (callback) => {
157+
async (_, callback) => {
158158
const { errors, warnings, generateReportAsset } = await report();
159159

160160
if (warnings) {

0 commit comments

Comments
 (0)