events: make sure console functions exist by davidvgalbraith · Pull Request #4479 · nodejs/node
if there's no global console cached, these calls will initialize it, which in some cases can cause a circular dependency, making the console received here an empty object. The program shouldn't crash in this case. Fixes nodejs#4467
and removed lib / src
labels
jasnell
added
the
semver-minor
label
eslint-disable required-modules escape regex dot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters