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

fs: small rmdir() and validateRmOptions() cleanup by cjihrig · Pull Request #35567 · nodejs/node · GitHub

/ node Public

fs: small rmdir() and validateRmOptions() cleanup - #35567

Merged
cjihrig merged 2 commits into
nodejs:masterfrom
cjihrig:err-handle
Oct 11, 2020
Merged

fs: small rmdir() and validateRmOptions() cleanup#35567
cjihrig merged 2 commits into
nodejs:masterfrom
cjihrig:err-handle

Conversation

cjihrig commented Oct 9, 2020

Copy link
Copy Markdown
Contributor

The first commit simplifies some error handling in validateRmOptions(). The second commit removes two unnecessary assignments in rmdir().

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

nodejs-github-bot added the fs Issues and PRs related to the fs subsystem / file system. label Oct 9, 2020
gengjiawen added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 9, 2020
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 9, 2020

Copy link
Copy Markdown
Collaborator

nodejs-github-bot commented Oct 9, 2020
edited by cjihrig
Loading

Copy link
Copy Markdown
Collaborator

cjihrig added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Oct 9, 2020
PR-URL: nodejs#35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
validateRmOptions() doesn't return a value, so this commit
removes the assignment. The options passed to
validateRmdirOptions() are not used again after validation, so
this commit removes the assignment.

PR-URL: nodejs#35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
cjihrig merged commit 91e0d9b into nodejs:master Oct 11, 2020
cjihrig deleted the err-handle branch October 11, 2020 02:03

cjihrig commented Oct 11, 2020

Copy link
Copy Markdown
Contributor Author

Landed in 278d38f...91e0d9b

MylesBorins pushed a commit that referenced this pull request Oct 14, 2020
PR-URL: #35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
MylesBorins pushed a commit that referenced this pull request Oct 14, 2020
validateRmOptions() doesn't return a value, so this commit
removes the assignment. The options passed to
validateRmdirOptions() are not used again after validation, so
this commit removes the assignment.

PR-URL: #35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
MylesBorins mentioned this pull request Oct 14, 2020
joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
PR-URL: nodejs#35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
joesepi pushed a commit to joesepi/node that referenced this pull request Jan 8, 2021
validateRmOptions() doesn't return a value, so this commit
removes the assignment. The options passed to
validateRmdirOptions() are not used again after validation, so
this commit removes the assignment.

PR-URL: nodejs#35567
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@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. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL