Skip to content

Commit

Permalink
Fix white-space related offenses
Browse files Browse the repository at this point in the history
- Layout/LeadingCommentSpace
  • Loading branch information
tagliala committed Jan 21, 2024
1 parent 5356ebd commit d644be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/hawk/http/caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def try_cache(descriptor, &block)
@_cache_options[:expires_in]

block.call.tap do |cacheable|
#$stderr.puts "CACHE: store #{key} with ttl #{ttl}"
# $stderr.puts "CACHE: store #{key} with ttl #{ttl}"
@_cache.set(key, cacheable, ttl)
end
end
Expand All @@ -88,7 +88,7 @@ def invalidate(descriptor, &block)

key = cache_key(descriptor)

#$stderr.puts "CACHE: delete #{key}"
# $stderr.puts "CACHE: delete #{key}"
@_cache.delete(key)
end
end
Expand Down

0 comments on commit d644be8

Please sign in to comment.