Skip to content

Commit

Permalink
fix review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Jul 22, 2024
1 parent 99ee2cd commit 69587f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schema/src/plugins/zod/transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class Transformer {
return `${this.name}.schema`;
}

private delegateCreateUpdateInputRegex = new RegExp(`(\\S+)(Unchecked)?(Create|Update).*Input`);
private delegateCreateUpdateInputRegex = /(\S+)(Unchecked)?(Create|Update).*Input/;

generateObjectSchemaFields(generateUnchecked: boolean) {
let fields = this.fields;
Expand Down

0 comments on commit 69587f9

Please sign in to comment.