ember-cli-deprecation-workflow icon indicating copy to clipboard operation
ember-cli-deprecation-workflow copied to clipboard

option to configure: containsMessage instead of matchMessage in deprecation-workflow.js?

Open LalithaRajanala opened this issue 6 years ago • 0 comments

This is my first time opening an issue in ember. Will be very happy to provide more information if needed :)

I love ember-cli-deprecation-workflow addon and I want to use it to handle all the errors where the error message includes certain string. Right now my way to work around it is to say matchMessage: / This is a deprecated message .* /

Instead, can we have an option to say containsMessage: 'This is deprecated message' ? This will help me define a string in the message instead of always defining a regex to see if substring is present in a string.

Thank you!

LalithaRajanala avatar Oct 30 '18 22:10 LalithaRajanala