Skip to content

Conversation

@adrienpoly
Copy link

Why

I had this warning in Ruby 3.4

lib/psych/comments/emitter.rb:93: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

What

This PR adds a missing magic comment and replace the string initializer with String.new

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.

1 participant