Skip to content

Commit b8d1876

Browse files
satorukmillotp
andauthored
fix(ruby): avoid mutating frozen string literals by replacing upcase! (#4755)
Co-authored-by: Pierre Millot <[email protected]>
1 parent bc45440 commit b8d1876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)