mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 19:17:19 +00:00
6 lines
168 B
TypeScript
6 lines
168 B
TypeScript
import { ZodIssue } from "zod";
|
|
|
|
export function formatZodIssue(issue: ZodIssue): string {
|
|
const path = issue.path.join("/");
|
|
return `${path}: ${issue.message}`;
|
|
}
|