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

http: else case is not reachable #24176

Closed
wants to merge 1 commit into from

Commits on Nov 6, 2018

  1. http: else case is not reachable

    While checking the arguments passed to http.Server, the case where
    the options argument was of wrong type was not handled. Now it
    throws an ERR_INVALID_ARG_TYPE error if the options argument is
    not a function, object, null, or undefined.
    szabolcsit committed Nov 6, 2018
    Copy the full SHA
    7002d5c View commit details
    Browse the repository at this point in the history