mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 12:28:50 +00:00
chore: Remove stray console.error
log in node:child_process
(#25111)
Missed removing it before committing
This commit is contained in:
parent
7bfb93135d
commit
2f47b4d1fd
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user