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

cli: add --expose-gc flag available to NODE_OPTIONS #53078

Merged
merged 1 commit into from
Jun 4, 2024

Commits on May 27, 2024

  1. cli: add --expose-gc flag available to NODE_OPTIONS

    This commits allows users to send `--expose-gc` via `NODE_OPTIONS`
    environment variable.
    
    Using `node --expose-gc` is possible but via `NODE_OPTIONS` won't
    work.
    
    ```sh
    NODE_OPTIONS='--expose-gc' node
    node: --expose-gc is not allowed in NODE_OPTIONS
    ```
    
    Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
    juanarbol committed May 27, 2024
    Configuration menu
    Copy the full SHA
    358a1dd View commit details
    Browse the repository at this point in the history