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

refactor: tweak fs.promises patch #4762

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

paul-soporan
Copy link
Member

What's the problem this PR addresses?

  • fs.promises hasn't been experimental since v11.14.0, v10.17.0, so the process.emitWarning dance to silence the warning isn't needed anymore
  • fs.promises has unconditionally existed since Node 10, so the undefined check isn't needed anymore.

How did you fix it?

Removed them.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@paul-soporan paul-soporan merged commit c637e5b into master Aug 16, 2022
@paul-soporan paul-soporan deleted the paul/refactor/tweak-fs-promises-patch branch August 16, 2022 15:27
merceyz pushed a commit that referenced this pull request Dec 25, 2023
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