Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util: don't init Debug if it's not needed yet #8452

Closed
wants to merge 1 commit into from

Commits on Sep 8, 2016

  1. util: don't init Debug if it's not needed yet

    Because any call to util.inspect() with an object results in
    inspectPromise() being called, Debug was being initialized even when
    it's not needed. Instead, the initialization is placed after the
    isPromise check.
    bengl committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    4ab5ccb View commit details
    Browse the repository at this point in the history