Skip to content

Commit

Permalink
fix: upldate ora stream output (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoon-Hae-Min authored and tvillaren committed Nov 25, 2024
1 parent 09d6ebf commit eae0b78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ See more help with --help`,
errors.map(this.warn.bind(this));

if (!Flags.skipValidation) {
const validatorSpinner = ora("Validating generated types").start();
const validatorSpinner = ora({
text: "Validating generated types",
stream: process.stdout,
}).start();
if (Flags.all) validatorSpinner.indent = 1;

const extraFiles = [];
Expand Down

0 comments on commit eae0b78

Please sign in to comment.