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

Refactor the part of .addOption() responsible for storing the default value #1961

Closed
wants to merge 1 commit into from

Commits on Aug 13, 2023

  1. Refactor addOption() part storing default value

    Eliminate excessive ._findOption() calls and undefined checks.
    
    Has the tiny side effect of overwriting the default value of a negatable
    option when its negating component prefixed with "--no-" is added if
    that component has an explicitly specified default value.
    aweebit committed Aug 13, 2023
    Copy the full SHA
    d1a1b39 View commit details
    Browse the repository at this point in the history