[Schematics CLI] Numeric strings in schematics options #24360
Labels
area: @angular-devkit/schematics-cli
freq1: low
Only reported by a handful of users who observe it rarely
type: bug/fix
Command
generate
Is this a regression?
The previous version in which this bug was not present was
No response
Description
From http://b/196605664.
Apparently you can't pass in a numeric value into a string argument in schematics. This appears to be interpreted as number and leads to a validation error.
Minimal Reproduction
Minimist seems to interpret "1234" as a number instead of a string, and schematics treats that as a type mismatch.
Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: