We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73c3a3d commit b2b0645Copy full SHA for b2b0645
lib/console.js
@@ -487,7 +487,8 @@ function noop() {}
487
// we cannot actually use `new Console` to construct the global console.
488
// Therefore, the console.Console.prototype is not
489
// in the global console prototype chain anymore.
490
-const globalConsole = Object.create({});
+// This is only here for v11.x conflict resolution.
491
+const globalConsole = Object.create(Console.prototype);
492
const tempConsole = new Console({
493
stdout: process.stdout,
494
stderr: process.stderr
0 commit comments