Skip to content

Commit 3bf07ad

Browse files
matt-aitkenericallam
authored andcommitted
Removed console.logs
1 parent 0c90031 commit 3bf07ad

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/core/src/v3/zodIpc.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -194,12 +194,9 @@ export class ZodIpcConnection<
194194
const parsedPacket = Packet.safeParse(packet);
195195

196196
if (!parsedPacket.success) {
197-
console.error("dropping invalid packet", inspect(packet, { depth: 20 }));
198197
return;
199198
}
200199

201-
console.log("#handlePacket", inspect(parsedPacket.data, { depth: 20 }));
202-
203200
switch (parsedPacket.data.type) {
204201
case "ACK": {
205202
// Check our list of ACKs and resolve with the message
@@ -257,7 +254,6 @@ export class ZodIpcConnection<
257254
}
258255

259256
async #sendPacket(packet: Packet) {
260-
console.log("#sendPacket", packet, this.opts.process.send);
261257
await this.opts.process.send?.(packet);
262258
}
263259

@@ -325,12 +321,6 @@ export class ZodIpcConnection<
325321
return reject(`Failed to parse message payload: ${JSON.stringify(parsedPayload.error)}`);
326322
}
327323

328-
console.log("sendWithAck", {
329-
type,
330-
payload,
331-
version: "v1",
332-
});
333-
334324
await this.#sendPacket({
335325
type: "EVENT",
336326
message: {

0 commit comments

Comments
 (0)