Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Feb 28, 2023
1 parent e59f639 commit a6b44ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions deno/lib/README.md
Expand Up @@ -24,6 +24,8 @@
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://www.npmjs.com/package/zod">npm</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://deno.land/x/zod">deno</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/colinhacks/zod/issues/new">Issues</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://twitter.com/colinhacks">@colinhacks</a>
Expand Down
1 change: 0 additions & 1 deletion deno/lib/types.ts
Expand Up @@ -4722,7 +4722,6 @@ export const custom = <T>(
const p = typeof params === "function" ? params(data) : params;
const _fatal = p.fatal ?? fatal ?? true;
const p2 = typeof p === "string" ? { message: p } : p;
console.log(`adding issue`);
ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
}
});
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Expand Up @@ -4722,7 +4722,6 @@ export const custom = <T>(
const p = typeof params === "function" ? params(data) : params;
const _fatal = p.fatal ?? fatal ?? true;
const p2 = typeof p === "string" ? { message: p } : p;
console.log(`adding issue`);
ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
}
});
Expand Down

0 comments on commit a6b44ed

Please sign in to comment.