-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update fs doc for filter #49289
update fs doc for filter #49289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems extremely long and verbose for a rather simple statement. The documentation already says that the function will be applied to files and directories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: commit message does not adhere to the commit message guidelines
7a4107b
to
7898fe0
Compare
The commit message guidelines suggest that it should start with an imperative verb, so maybe something like
or
Would be slightly better. |
@LiviaMedeiros yes, I had updated first commit to |
Landed in 4178683, thanks for the contribution :) |
PR-URL: nodejs#49289 Fixes: nodejs#49092 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name>
PR-URL: nodejs/node#49289 Fixes: nodejs/node#49092 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name>
PR-URL: nodejs/node#49289 Fixes: nodejs/node#49092 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name>
Updating doc for
fs.cp
,fsPromises.cp
andfs.cpSync
.Added the caveat that filter will be applied to both files and dirs.
Fixes: #49092