Skip to content

Commit

Permalink
fix: always pass compilation to issues hook (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdandrea committed Jun 10, 2020
1 parent e812f18 commit b865f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/tapDoneToAsyncGetIssues.ts
Expand Up @@ -54,7 +54,7 @@ function tapDoneToAsyncGetIssues(
issues = issues.filter(configuration.issue.predicate);

// modify list of issues in the plugin hooks
issues = hooks.issues.call(issues);
issues = hooks.issues.call(issues, stats.compilation);

const formatter = createWebpackFormatter(configuration.formatter, compiler.context);

Expand Down

0 comments on commit b865f1d

Please sign in to comment.