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

Handle numeric values #50

Merged
merged 2 commits into from
Feb 16, 2021
Merged

Handle numeric values #50

merged 2 commits into from
Feb 16, 2021

Conversation

awjh
Copy link
Owner

@awjh awjh commented Feb 16, 2021

#49

Fix issue where should a numeric value be provided as a regex replacement option yargs converts it to a number rather than leaving a string which caused issues on using .match

Updated utils to ensure each value is a string
Updated unit test to include a non string value in the array
Updated integration tests to include numeric value being passed

Signed-off-by: awjh <andrewhurt@btinternet.com>
Signed-off-by: awjh <andrewhurt@btinternet.com>
@awjh awjh merged commit 476ae30 into master Feb 16, 2021
@awjh awjh deleted the handle-numeric-values branch February 16, 2021 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant