mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
[ci] format
This commit is contained in:
parent
bd34452a34
commit
461cd42a06
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue