github / octocatalog-diff

Compile Puppet catalogs from 2 branches, versions, etc., and compare them
https://rubygems.org/gems/octocatalog-diff/
MIT License
239 stars 85 forks source link

Escape lengthy regex, use File instead of IO #285

Closed cjmartian closed 9 months ago

cjmartian commented 9 months ago

Overview

This pull request replaces an IO call with File and escapes when regex input is larger than 1000 chars.

(Please write a summary of your pull request here. This paragraph should go into detail about what is changing, the motivation behind this change, and the approach you took.)

Checklist

/cc [related issues] [teams and individuals, making sure to mention why you're CC-ing them]