j0k3r / graby

Graby helps you extract article content from web pages
MIT License
363 stars 73 forks source link

Ensure `find_string` & `replace_string` size are equal #281

Closed j0k3r closed 2 years ago

j0k3r commented 2 years ago

That validation is performed in parseLines so the size of them can't mismatch when merging configuration for example. A warning log is raised in case of mismatch.

Following https://github.com/j0k3r/graby/pull/279#discussion_r780230930 Poke @jtojnar

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.08%) to 95.397% when pulling dababcfac98e2b53003f4b21826694f56df8b74f on fix/find-replace-string-validation into e1a7b3dccfc954c0711f68f4fe6099718d35e0db on master.