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

Repl deprecation Warning with node 7.x #200

Open
perlawk opened this issue May 21, 2017 · 0 comments
Open

Repl deprecation Warning with node 7.x #200

perlawk opened this issue May 21, 2017 · 0 comments

Comments

@perlawk
Copy link

perlawk commented May 21, 2017

When using the repl in iced-cs, just enter the following:
five -> 5
A warning:
DeprecationWarning: Calling an asynchronous function without callback is deprecated.
After tracing back the source code,
in src/repl.coffee:
fs.write fd, "#{code}\n"
It's a warning from node 7.x for async function without a callback,
patch:
fs.write fd, "#{code}\n", ()->
The warning disappear, I searched all the source under src directory, no more such bug, thanks.

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