Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shulaoda committed Jul 23, 2024
1 parent fb28f96 commit 2732f10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rspack-test-tools/src/processor/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export class StatsProcessor<
async compiler(context: ITestContext) {
await super.compiler(context);
const instance = this.getCompiler(context).getCompiler()! as any;
const compilers = instance.compilers ? instance.compilers : [instance];
const compilers: Compiler[] = instance.compilers
? instance.compilers
: [instance];
for (const compiler of compilers) {
const ifs = compiler.inputFileSystem;
compiler.inputFileSystem = Object.create(ifs);
Expand Down

0 comments on commit 2732f10

Please sign in to comment.