Skip to content

Commit 0cfa3df

Browse files
committed
Rubocop Fixes
This change updates the code to make Rubocop happy.
1 parent 2dbb30d commit 0cfa3df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Metrics/CyclomaticComplexity:
1717
Metrics/LineLength:
1818
Max: 120
1919
Metrics/MethodLength:
20-
Max: 17
20+
Max: 18
2121
Metrics/ParameterLists:
2222
Max: 6
2323
Metrics/PerceivedComplexity:

lib/java_buildpack/util/cache/download_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def attempt(http, request, cached_file)
123123
downloaded = false
124124

125125
http.request request do |response|
126-
@logger.debug { "Response headers: #{response.to_hash}"}
126+
@logger.debug { "Response headers: #{response.to_hash}" }
127127
@logger.debug { "Response status: #{response.code}" }
128128

129129
if response.is_a? Net::HTTPOK

0 commit comments

Comments
 (0)