Skip to content

Commit 147d940

Browse files
algolia-botsatorukmillotp
committed
fix(ruby): avoid mutating frozen string literals by replacing upcase! (generated)
algolia/api-clients-automation#4755 Co-authored-by: Koyanagi Satoru <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent eee535c commit 147d940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)