Skip to content

Conversation

@cjihrig
Copy link
Contributor

This commit does two things:

  • Reverses the boolean value returned by timeLogImpl(). The new values make more sense semantically (IMO anyway), and save a a single NOT operation.
  • Explicitly check for undefined when calling _times.get() instead of coercing the value.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

This commit does two things: - Reverses the boolean value returned by timeLogImpl(). The new values make more sense semantically (IMO anyway), and save a a single NOT operation. - Explicitly check for undefined when calling _times.get() instead of coercing the value.
@nodejs-github-botnodejs-github-bot added the console Issues and PRs related to the console subsystem. label Aug 13, 2019
Copy link

@patilharshal16patilharshal16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about changed return type otherwise looks good

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Aug 13, 2019

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 13, 2019
@ZYSzys
Copy link
Member

Landed in a15cd9d.

@ZYSzysZYSzys closed this Aug 15, 2019
ZYSzys pushed a commit that referenced this pull request Aug 15, 2019
This commit does two things: - Reverses the boolean value returned by timeLogImpl(). The new values make more sense semantically (IMO anyway), and save a a single NOT operation. - Explicitly check for undefined when calling _times.get() instead of coercing the value. PR-URL: #29100 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@cjihrigcjihrig deleted the console branch August 15, 2019 13:51
targos pushed a commit that referenced this pull request Aug 19, 2019
This commit does two things: - Reverses the boolean value returned by timeLogImpl(). The new values make more sense semantically (IMO anyway), and save a a single NOT operation. - Explicitly check for undefined when calling _times.get() instead of coercing the value. PR-URL: #29100 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
@targostargos mentioned this pull request Aug 19, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.consoleIssues and PRs related to the console subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@cjihrig@nodejs-github-bot@ZYSzys@jasnell@Trott@antsmartian@lpinca@targos@patilharshal16