The Wayback Machine - http://web.archive.org/web/20220113101547/https://github.com/nodejs/node/pull/40386
Skip to content
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

src,fs: remove ToLocalChecked() call from fs::AfterMkdirp() #40386

Conversation

@RaisinTen
Copy link
Member

@RaisinTen RaisinTen commented Oct 9, 2021

This merges the IsEmpty() call and the ToLocalChecked() call into a
single ToLocal() call.

Signed-off-by: Darshan Sen darshan.sen@postman.com

@nodejs-github-bot

This comment has been hidden.

src/node_file.cc Outdated Show resolved Hide resolved
jasnell
jasnell approved these changes Oct 9, 2021
Copy link
Member

@jasnell jasnell left a comment

LGTM with a nit

This merges the `IsEmpty()` call and the `ToLocalChecked()` call into a
single `ToLocal()` call.

Signed-off-by: Darshan Sen <darshan.sen@postman.com>
@RaisinTen RaisinTen force-pushed the src,fs/remove-ToLocalChecked-call-from-fs-AfterMkdirp branch from 4f8ebfc to b6b8f6e Oct 9, 2021
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Oct 9, 2021

@RaisinTen RaisinTen requested a review from addaleax Oct 11, 2021
@github-actions
Copy link

@github-actions github-actions bot commented Oct 20, 2021

Landed in b920a10...aef8abb

@github-actions github-actions bot closed this Oct 20, 2021
nodejs-github-bot added a commit that referenced this issue Oct 20, 2021
This merges the `IsEmpty()` call and the `ToLocalChecked()` call into a
single `ToLocal()` call.

Signed-off-by: Darshan Sen <darshan.sen@postman.com>

PR-URL: #40386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@RaisinTen RaisinTen deleted the src,fs/remove-ToLocalChecked-call-from-fs-AfterMkdirp branch Oct 20, 2021
targos added a commit that referenced this issue Oct 23, 2021
This merges the `IsEmpty()` call and the `ToLocalChecked()` call into a
single `ToLocal()` call.

Signed-off-by: Darshan Sen <darshan.sen@postman.com>

PR-URL: #40386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

@targos targos mentioned this pull request Nov 8, 2021

BethGriggs added a commit that referenced this issue Nov 23, 2021
This merges the `IsEmpty()` call and the `ToLocalChecked()` call into a
single `ToLocal()` call.

Signed-off-by: Darshan Sen <darshan.sen@postman.com>

PR-URL: #40386
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>

@BethGriggs BethGriggs mentioned this pull request Nov 26, 2021

1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants