Skip to content

Commit

Permalink
Show num transform passes in output
Browse files Browse the repository at this point in the history
  • Loading branch information
irskep committed Aug 29, 2024
1 parent c7566c8 commit 2ef2998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/executeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export async function executeConfig(
) {
const docSet = await readDocSet(config);
for (let i = 0; i < config.num_passes; i++) {
const loader = print.spin(`Transform pass ${i + 1}`);
const loader = print.spin(
`Transform pass ${i + 1} of ${config.num_passes}`
);
loader.start();
await docSet.runPasses();
loader.succeed();
Expand Down

0 comments on commit 2ef2998

Please sign in to comment.