awjh / license-check-and-add

license-check-and-add
Apache License 2.0
11 stars 9 forks source link

Handle numeric values #50

Closed awjh closed 3 years ago

awjh commented 3 years ago

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