Skip to content

lib: simplify 'umask'#26035

Closed
ghost wants to merge 1 commit into
masterfrom
unknown repository
Closed

lib: simplify 'umask'#26035
ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Feb 10, 2019

Copy link
Copy Markdown

Just check: if 'mask' is not undefined, just call 'validateMode' and
then return the unmask value, we don't need split them into two returns.


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

@nodejs-github-bot nodejs-github-bot added the process Issues and PRs related to the process subsystem. label Feb 10, 2019
@targos

targos commented Feb 10, 2019

Copy link
Copy Markdown
Member

To fix travis: s/Simplify/simplify/

Just check: if 'mask' is not undefined, just call 'validateMode' and
then return the unmask value, we don't need split them into two returns.
@ghost ghost changed the title lib: Simplify 'umask' lib: simplify 'umask' Feb 10, 2019
@danbev

danbev commented Feb 13, 2019

Copy link
Copy Markdown
Contributor

@danbev

danbev commented Feb 13, 2019

Copy link
Copy Markdown
Contributor

Re-run of failing node-test-commit-arm-fanned (✔️)

@danbev

danbev commented Feb 13, 2019

Copy link
Copy Markdown
Contributor

Landed in ec76f7c.

@danbev danbev closed this Feb 13, 2019
danbev pushed a commit that referenced this pull request Feb 13, 2019
Just check: if 'mask' is not undefined, just call 'validateMode' and
then return the unmask value, we don't need split them into two returns.

PR-URL: #26035
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: James M Snell <[email protected]>
addaleax pushed a commit that referenced this pull request Feb 13, 2019
Just check: if 'mask' is not undefined, just call 'validateMode' and
then return the unmask value, we don't need split them into two returns.

PR-URL: #26035
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@ghost ghost deleted the SimplifyFunc branch February 13, 2019 22:49
@ghost

ghost commented Feb 13, 2019

Copy link
Copy Markdown
Author

Thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

process Issues and PRs related to the process subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants