Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): set inputNamePattern to RegExp source instead of string (#2201
) using RegExp.toString() returns a valid regex string (with / at the beginning and the end of the string), but when this value is reused as RegExp constructor, it tries to covert the string value in to regex, causing the those / to be escaped. actual: /foo/ /\/foo\// /\/\/foo\/\// expected: /bar/ /bar/ /bar/
- Loading branch information