◐ Shell
clean mode source ↗

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

@davidvgalbraith mentioned this pull request

Dec 30, 2015

@JungMinu JungMinu added the events

Issues and PRs related to the events subsystem / EventEmitter.

label

Dec 30, 2015

@JungMinu JungMinu added lib / src

Issues and PRs related to general changes in the lib or src directory.

util

Issues and PRs related to the built-in util module.

and removed lib / src

Issues and PRs related to general changes in the lib or src directory.

labels

Dec 30, 2015

@jasnell jasnell added the semver-minor

PRs that contain new features and should be released in the next minor version.

label

Jan 4, 2016
eslint-disable required-modules
escape regex dot