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

fix(node/fs): add sync method to filehandle method #27089

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

yuxi-ovo
Copy link

links #25554

@yuxi-ovo
Copy link
Author

fixes #25554

@@ -189,6 +189,7 @@ const promises = {
appendFile: appendFilePromise,
readFile: readFilePromise,
watch: watchPromise,
sync: fsyncSync,
Copy link
Member

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?

Copy link
Author

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

@dsherret dsherret changed the title feat(node/fs) Add sync method to filehandle method fix(node/fs): add sync method to filehandle method Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants