Skip to content

Commit d06f8c8

Browse files
committed
fix(ruby): avoid mutating frozen string literals by replacing upcase! with upcase
1 parent b024622 commit d06f8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: clients/algoliasearch-client-ruby/lib/algolia/transport/http/http_requester.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def send_request(host, method, path, body, query_params, headers, timeout, conne
3030
connection.options.open_timeout = connect_timeout / 1000
3131
path += handle_query_params(query_params)
3232

33-
@logger.info("Sending #{method.to_s.upcase!} request to #{path} with body #{body}") if ENV["ALGOLIA_DEBUG"]
33+
@logger.info("Sending #{method.to_s.upcase} request to #{path} with body #{body}") if ENV["ALGOLIA_DEBUG"]
3434

3535
response = connection.run_request(method, path, body, headers)
3636

0 commit comments

Comments
 (0)