maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
726 stars 58 forks source link

Repl deprecation Warning with node 7.x #200

Open perlawk opened 7 years ago

perlawk commented 7 years ago

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.