Skip to content

Commit

Permalink
fix: context binding while processing errors (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
elquid committed Feb 23, 2024
1 parent 8979a6f commit 2db450b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Expand Up @@ -295,7 +295,7 @@ See more help with --help`,
};
}

errors.map(this.warn);
errors.map(this.warn.bind(this));

if (!Flags.skipValidation) {
const validatorSpinner = ora("Validating generated types").start();
Expand Down

0 comments on commit 2db450b

Please sign in to comment.