FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

assert: fix loose assert with map and set by BridgeAR · Pull Request #22145 · nodejs/node · GitHub

/ node Public

assert: fix loose assert with map and set - #22145

Closed
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:fix-loose-assert
Closed

assert: fix loose assert with map and set#22145
BridgeAR wants to merge 1 commit into
nodejs:masterfrom
BridgeAR:fix-loose-assert

Conversation

BridgeAR commented Aug 5, 2018
edited
Loading

Copy link
Copy Markdown
Member

There was an oversight when checking the possible loose comparisons.
This is now fixed by also accepting '' instead of 0 or false.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

There was an oversight when checking the possible loose comparisons.
This is now fixed by also accepting `''` instead of `0` or `false`.

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the util Issues and PRs related to the built-in util module. label Aug 5, 2018
BridgeAR added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 6, 2018

BridgeAR commented Aug 6, 2018

Copy link
Copy Markdown
Member Author

trivikr commented Aug 8, 2018

Copy link
Copy Markdown
Member

BridgeAR added a commit to BridgeAR/node that referenced this pull request Aug 9, 2018
There was an oversight when checking the possible loose comparisons.
This is now fixed by also accepting `''` instead of `0` or `false`.

PR-URL: nodejs#22145
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>

BridgeAR commented Aug 9, 2018

Copy link
Copy Markdown
Member Author

Landed in 85bfd71

BridgeAR closed this Aug 9, 2018
targos pushed a commit that referenced this pull request Aug 12, 2018
There was an oversight when checking the possible loose comparisons.
This is now fixed by also accepting `''` instead of `0` or `false`.

PR-URL: #22145
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
BridgeAR deleted the fix-loose-assert branch January 20, 2020 11:34
firass111 pushed a commit to firass111/Project_node1 that referenced this pull request Apr 16, 2025
There was an oversight when checking the possible loose comparisons.
This is now fixed by also accepting `''` instead of `0` or `false`.

PR-URL: nodejs/node#22145
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL