Unverified Commit f8f283b8 authored by Sakthipriyan Vairamani's avatar Sakthipriyan Vairamani
Browse files

fs: warn if no callback is passed to async calls

This patch issues a deprecation warning, if an asynchronous function
is called without a callback function.

PR-URL: https://github.com/nodejs/node/pull/7897


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarYorkie Liu <yorkiefixer@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent a72a3315
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment