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

prompt support for value type number #12927

Closed
wants to merge 2 commits into from

Commits on Nov 11, 2018

  1. feat(@angular-devkit/core): accept prompt on number type options

    As the ajv self validator was expecting a number, and the prompt delivered a string to the
    validator, the user was stuck in a loop with an impossible expectation.
    Now, the value from the prompt is converted to a number if required before validation.
    nlm-pro committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    987d0a5 View commit details
    Browse the repository at this point in the history
  2. feat(@angular/cli): support prompt on number type options

    Convert the inquirer result to a number iff the schematic option type is 'number'.
    nlm-pro committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    e3fb657 View commit details
    Browse the repository at this point in the history