Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

thejonroberts
Copy link
Contributor

@thejonroberts thejonroberts commented Jul 13, 2024

Update the readme to use YAML.unsafe_load to parse regex values, load won't by default. I had the same issue as #106 , and this solved it. See this psych discussion.

Note: .yml regex values must be in format !ruby/regexp /\A[a-z0-9\-\:]+\z/ to be read as Regexp class. Not specific to this gem, but I can add a note below this if it is helpful.

Use `YAML.unsafe_load` to parse regex values, `load` won't by default
@thejonroberts
Copy link
Contributor Author

I have signed the CLA!

@thejonroberts
Copy link
Contributor Author

@etiennebarrie what do you think of this readme change? Sorry for the ping, this has been up for 2 weeks.

Co-authored-by: Jon Roberts <[email protected]>
@etiennebarrie etiennebarrie merged commit 4f0926b into Shopify:main Jul 30, 2024
@etiennebarrie
Copy link
Member

Thank you!

@thejonroberts thejonroberts deleted the readme-yml-config-update branch July 30, 2024 14:27
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.

2 participants