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

[18.x] src: clarify OptionEnvvarSettings member names #45994

Closed

Commits on May 18, 2023

  1. src: clarify OptionEnvvarSettings member names

    The term `Environment` in `kAllowedInEnvironment` and
    `kDisallowedInEnvironment` has nothing to do with the commonly used
    term `node::Environment`. Rename the member to `kAllowedInEnvvar`
    and `kDisallowedInEnvvar` respectively to reflect they are options
    of `OptionEnvvarSettings`.
    
    As `OptionEnvvarSettings` is part of the public embedder APIs, the
    legacy names are still preserved.
    
    PR-URL: nodejs#45057
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Darshan Sen <raisinten@gmail.com>
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    legendecas committed May 18, 2023
    Configuration menu
    Copy the full SHA
    37d7f81 View commit details
    Browse the repository at this point in the history