summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/child_process.ts
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-08-20 12:07:11 -0700
committerGitHub <noreply@github.com>2024-08-20 19:07:11 +0000
commit2f47b4d1fd8e37a5e45bc1b8f3623708e0f95e2e (patch)
treefd652dd4a680a291351e779dcd5af07cbf06315d /ext/node/polyfills/internal/child_process.ts
parent7bfb93135d8ee526a8de32d7025896caed3acf21 (diff)
chore: Remove stray `console.error` log in `node:child_process` (#25111)
Missed removing it before committing
Diffstat (limited to 'ext/node/polyfills/internal/child_process.ts')
-rw-r--r--ext/node/polyfills/internal/child_process.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/node/polyfills/internal/child_process.ts b/ext/node/polyfills/internal/child_process.ts
index edc11df73..3547897b9 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<T, O>(
@@ -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));