Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 10, 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.


  • 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
Copy link
Member

targos commented Feb 10, 2019

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
Copy link
Contributor

danbev commented Feb 13, 2019

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

@danbev
Copy link
Contributor

danbev commented Feb 13, 2019

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 <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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 <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@ghost ghost deleted the SimplifyFunc branch February 13, 2019 22:49
@ghost
Copy link
Author

ghost commented Feb 13, 2019

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.

10 participants