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

Deprecation Warning with node 7.4.0 #10

Closed
borisdiakur opened this issue Jan 19, 2017 · 0 comments
Closed

Deprecation Warning with node 7.4.0 #10

borisdiakur opened this issue Jan 19, 2017 · 0 comments

Comments

@borisdiakur
Copy link
Contributor

I’m getting a deprecation warning with node 7.4.0:

(node:1335) DeprecationWarning: Calling an asynchronous function without callback is deprecated.

This is due to this line: https://github.com/tmpvar/repl.history/blob/master/index.js#L15

It should either be fs.writeSync or have a callback.

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

No branches or pull requests

1 participant