Skip to content

Commit

Permalink
fix: unused to json call
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Aug 1, 2024
1 parent e02be65 commit a6293e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/rspack/src/Stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ export class Stats {
// Modern.js: https://github.com/web-infra-dev/modern.js/blob/63f916f882f7d16096949e264e119218c0ab8d7d/packages/server/server/src/dev-tools/dev-middleware/socketServer.ts#L172
let stats: StatsCompilation | null = null;
try {
const statsCompilation = this.#inner.toJson(options);
stats = statsFactory.create("compilation", this.compilation, {
compilation: this.compilation,
statsCompilation,
getStatsCompilation: (
compilation: Compilation
): binding.JsStatsCompilation => {
Expand Down

0 comments on commit a6293e2

Please sign in to comment.