-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix(node/fs): add sync method to filehandle method #27089
Conversation
fixes #25554 |
@@ -189,6 +189,7 @@ const promises = { | |||
appendFile: appendFilePromise, | |||
readFile: readFilePromise, | |||
watch: watchPromise, | |||
sync: fsyncSync, |
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.
promises.sync
doesn't seem existing in Node.js fs docs https://nodejs.org/api/fs.html
Or am I missing something?
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.
Oh, this is my problem. Do I need to delete it now?
Thank you for your reply
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.
yes
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.
ok, I'm done. Thank you for your reply
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.
Thanks for taking a look! Maybe a commit wasn't pushed correctly. This line here is still included in the changes of the PR.
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.
here be61bce
(#27089)
Is this correct ?
thank you for your replay
links #25554