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

fs: throw on invalid callbacks for async functions #12562

Closed

Commits on May 9, 2017

  1. fs: throw on invalid callbacks for async functions

    If an asynchronous function is passed no callback function, there is no
    way to return the result. This patch throws an error if the callback
    passed is not valid or none passed at all.
    thefourtheye committed May 9, 2017
    Copy the full SHA
    2096f8b View commit details
    Browse the repository at this point in the history