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 deprecation warning in Node.js 7 #262

Merged
merged 1 commit into from
May 1, 2018

Conversation

jimf
Copy link
Contributor

@jimf jimf commented Oct 4, 2017

Starting in Node.js v7.0.0, omitting the callback to async functions
emits a deprecation warning. Update the call to fs.unlink to instead
use fs.unlinkSync, which does not expect a callback.

Starting in Node.js v7.0.0, omitting the callback to async functions
emits a deprecation warning. Update the call to `fs.unlink` to instead
use `fs.unlinkSync`, which does not expect a callback.
@jsf-clabot
Copy link

jsf-clabot commented Oct 4, 2017

CLA assistant check
All committers have signed the CLA.

@ZurabWeb
Copy link

Bump.

@rudidude86
Copy link

I made a PR for this exact same thing a few days ago, not realizing this PR already addressed this.

The deprecation warning in Node 7+ is now a real-deal error in Node 10. Is there anything we can do to move forward on getting this updated? It's such a small change...

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.

5 participants