Skip to content

Commit

Permalink
fix: fix printInstructions createCompilerOption options issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 22, 2023
1 parent 9337f3d commit 2c54fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/overrides/printInstructions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function overridesPrintInstructions(opt: OverridesPrintInstructionsOption
}
if (opt.docs && opt.printInstructions) {
const docData = getDocsData(opt.docs);
opt.printInstructions({ ...opt, ...docData });
opt.printInstructions({ ...opt, ...docData, createCompilerOption: option });
}
return createCompiler(option);
};
Expand Down

0 comments on commit 2c54fae

Please sign in to comment.