From 2f47b4d1fd8e37a5e45bc1b8f3623708e0f95e2e Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Tue, 20 Aug 2024 12:07:11 -0700 Subject: [PATCH] chore: Remove stray `console.error` log in `node:child_process` (#25111) Missed removing it before committing --- ext/node/polyfills/internal/child_process.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/node/polyfills/internal/child_process.ts b/ext/node/polyfills/internal/child_process.ts index edc11df736..3547897b9a 100644 --- a/ext/node/polyfills/internal/child_process.ts +++ b/ext/node/polyfills/internal/child_process.ts @@ -55,7 +55,6 @@ import process from "node:process"; import { StringPrototypeSlice } from "ext:deno_node/internal/primordials.mjs"; import { StreamBase } from "ext:deno_node/internal_binding/stream_wrap.ts"; import { Pipe, socketType } from "ext:deno_node/internal_binding/pipe_wrap.ts"; -import console from "node:console"; import { Socket } from "node:net"; export function mapValues( @@ -1387,7 +1386,6 @@ export function setupChannel(target: any, ipc: number) { if (!target.connected) { const err = new ERR_IPC_CHANNEL_CLOSED(); if (typeof callback === "function") { - console.error("ChildProcess.send with callback"); process.nextTick(callback, err); } else { nextTick(() => target.emit("error", err));