Skip to content

Commit

Permalink
Update schemas.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneycl committed Jun 15, 2022
1 parent 871f406 commit dfd5196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const ConfigurationOptionsSchema = z
.partial()
.refine(
obj => !(obj.allow_licenses && obj.deny_licenses),
"Can't specify both allow_licenses and deny_licenses"
"Your workflow file has both an allow_licenses list and deny_licenses list, but you can only set one or the other."
)

export const ChangesSchema = z.array(ChangeSchema)
Expand Down

0 comments on commit dfd5196

Please sign in to comment.