Skip to content

chore: remove usage of unnecessary util.promisify#3988

Merged
wraithgar merged 1 commit intorelease-nextfrom
lk/fs.promises
Nov 4, 2021
Merged

chore: remove usage of unnecessary util.promisify#3988
wraithgar merged 1 commit intorelease-nextfrom
lk/fs.promises

Conversation

@lukekarrys
Copy link
Copy Markdown
Contributor

This is safe to do now that we've dropped node 10 support.

@lukekarrys lukekarrys requested a review from a team as a code owner November 3, 2021 21:59
Copy link
Copy Markdown
Member

@wraithgar wraithgar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~/D/n/cli (release-next|✔) $ nvm use 12lts
Now using node v12.13.0 (npm v6.12.0)
~/D/n/cli (release-next|✔) $ node
Welcome to Node.js v12.13.0.
Type ".help" for more information.
> require('fs').promises
{
  access: [AsyncFunction: access],
...

This is safe to do now that we've dropped node 10 support.

PR-URL: #3988
Credit: @lukekarrys
Close: #3988
Reviewed-by: @wraithgar
@wraithgar wraithgar merged commit 32ccd3c into release-next Nov 4, 2021
@wraithgar wraithgar deleted the lk/fs.promises branch November 4, 2021 14:10
@wraithgar wraithgar mentioned this pull request Nov 4, 2021
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