Skip to content

Conversation

@targos
Copy link
Member

@targos targos commented Jun 5, 2018

Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.

This is a partial patch backport of #19973. It is necessary to backport other subsequent PRs to the fs module.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.
@targos targos added the v10.x label Jun 5, 2018
@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. v10.x labels Jun 5, 2018
@targos targos requested a review from joyeecheung June 5, 2018 14:29
@joyeecheung
Copy link
Member

Thanks for doing this!

CI:https://ci.nodejs.org/job/node-test-pull-request/15265/

Copy link
Contributor

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

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

LGTM

@MylesBorins
Copy link
Contributor

landed in f2c9e5a

@MylesBorins MylesBorins closed this Jun 6, 2018
MylesBorins pushed a commit that referenced this pull request Jun 6, 2018
Create a file to centralize argument validators that are used in
multiple internal modules.
Move validateInt32 and validateUint32 to this file.

PR-URL: #21149
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@targos targos deleted the backport-internal-validators branch June 6, 2018 08:23
@MylesBorins MylesBorins mentioned this pull request Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants