0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-17 22:44:24 -05:00

[ci] format

This commit is contained in:
Ben Holmes 2024-05-13 19:29:40 +00:00 committed by astrobot-houston
parent bd34452a34
commit 461cd42a06

View file

@ -110,7 +110,10 @@ export class ActionInputError<T extends ErrorInferenceObject> extends ActionErro
fields: z.ZodError<T>['formErrors']['fieldErrors'];
constructor(issues: z.ZodIssue[]) {
super({ message: `Failed to validate: ${JSON.stringify(issues, null, 2)}`, code: 'BAD_REQUEST' });
super({
message: `Failed to validate: ${JSON.stringify(issues, null, 2)}`,
code: 'BAD_REQUEST',
});
this.issues = issues;
this.fields = {};
for (const issue of issues) {