danmayer / coverband

Ruby production code coverage collection and reporting (line of code usage)
https://github.com/danmayer/coverband
MIT License
2.46k stars 157 forks source link

Allow YAML alias in translation #501

Closed ursm closed 7 months ago

ursm commented 7 months ago

The following error occurred when the translation file contained a YAML alias:

$ bin/rails s 
D, [2024-02-04T15:55:01.732775 #2748152] DEBUG -- : using default configuration
=> Booting Puma
=> Rails 7.1.3 application starting in development 
=> Run `bin/rails server --help` for more startup options
Exiting
/home/ursm/.local/share/mise/installs/ruby/3.3.0/lib/ruby/3.3.0/psych/visitors/to_ruby.rb:432:in `visit_Psych_Nodes_Alias': Alias parsing was not enabled. To enable it, pass `aliases: true` to `Psych::load` or `Psych::safe_load`. (Psych::AliasesNotEnabled)