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

dns: Refactor forEach to map #5803

Closed
wants to merge 1 commit into from

Commits on Mar 22, 2016

  1. dns: Refactor forEach to map

    Refactor a forEach to a `map` in the `setServers` function of the
    dns module - simplifying the code. In addition, use more descriptive
    variable names and `const` over `var` where possible.
    
    PR-URL: nodejs#5803
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
    benjamingr committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    669db03 View commit details
    Browse the repository at this point in the history