Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Aug 4, 2018

When checkRangesOrGetDefault calls checkFiniteNumber, the latter
function only has two parameters, so lower and upper don't need to
be passed for validation.

  • 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

When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.
@nodejs-github-bot nodejs-github-bot added the zlib Issues and PRs related to the zlib subsystem. label Aug 4, 2018
@Trott
Copy link
Member

Trott commented Aug 4, 2018

@ghost
Copy link
Author

ghost commented Aug 4, 2018

@Trott:Another of my submit has also met with the same problem, that CI's test commit failed: #21906.

@Trott
Copy link
Member

Trott commented Aug 6, 2018

@maclover7 maclover7 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 7, 2018
@trivikr
Copy link
Member

trivikr commented Aug 7, 2018

Trott pushed a commit to Trott/io.js that referenced this pull request Aug 7, 2018
When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.

PR-URL: nodejs#22115
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@Trott
Copy link
Member

Trott commented Aug 7, 2018

Landed in 493e6d4

@Trott Trott closed this Aug 7, 2018
@ghost ghost deleted the zlibUselessParams branch August 8, 2018 00:43
@ghost
Copy link
Author

ghost commented Aug 8, 2018

Thanks!

firass111 pushed a commit to firass111/Project_node1 that referenced this pull request Apr 16, 2025
When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.

PR-URL: nodejs/node#22115
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
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 pending requests for changes, and a CI started. zlib Issues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants