| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -487,7 +487,8 @@ function noop() {} | |||
| 487 | 487 | // we cannot actually use `new Console` to construct the global console. | |
| 488 | 488 | // Therefore, the console.Console.prototype is not | |
| 489 | 489 | // in the global console prototype chain anymore. | |
| 490 | - const globalConsole = Object.create({}); | ||
| 490 | + // This is only here for v11.x conflict resolution. | ||
| 491 | + const globalConsole = Object.create(Console.prototype); | ||
| 491 | 492 | const tempConsole = new Console({ | |
| 492 | 493 | stdout: process.stdout, | |
| 493 | 494 | stderr: process.stderr | |
| Back | FazBrowse Home | New Git URL |
0 commit comments