1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00

chore: Remove stray console.error log in node:child_process (#25111)

Missed removing it before committing
This commit is contained in:
Nathan Whitaker 2024-08-20 12:07:11 -07:00 committed by GitHub
parent 7bfb93135d
commit 2f47b4d1fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));