Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[http] Use +"" for a mutable string #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

juharris
Copy link

@juharris juharris commented Feb 27, 2025

To avoid warnings I get in my console:

/Users/jus/.gem/ruby/3.4.1/gems/anthropic-0.3.2/lib/anthropic/http.rb:104: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/Users/jus/.gem/ruby/3.4.1/gems/anthropic-0.3.2/lib/anthropic/http.rb:104: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
/Users/jus/.gem/ruby/3.4.1/gems/anthropic-0.3.2/lib/anthropic/http.rb:104: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?

@juharris juharris marked this pull request as ready for review February 27, 2025 14:46
@juharris juharris closed this Feb 27, 2025
@juharris juharris reopened this Feb 27, 2025
@juharris juharris changed the title [http] Add # frozen_string_literal: true [http] Add # frozen_string_literal: false Feb 27, 2025
@juharris juharris closed this Feb 27, 2025
@juharris juharris changed the title [http] Add # frozen_string_literal: false [http] Use +"" for a mutable string Feb 27, 2025
@juharris juharris reopened this Feb 27, 2025
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