Skip to content

Repl deprecation Warning with node 7.x #200

@perlawk

Description

@perlawk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions