Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev authored and astrobot-houston committed May 13, 2024
1 parent bd34452 commit 461cd42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/astro/src/actions/runtime/virtual/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 461cd42

Please sign in to comment.