We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556f2c3 commit a592504Copy full SHA for a592504
.rubocop_todo.yml
@@ -44,10 +44,3 @@ Style/FileRead:
44
Style/OptionalBooleanParameter:
45
Exclude:
46
- 'lib/zip/bzip2/libbz2.rb'
47
-
48
-# Offense count: 1
49
-# This cop supports safe autocorrection (--autocorrect).
50
-# Configuration parameters: AllowMultipleReturnValues.
51
-Style/RedundantReturn:
52
- Exclude:
53
- - 'lib/zip/bzip2/decompressor.rb'
lib/zip/bzip2/decompressor.rb
@@ -29,7 +29,7 @@ def eof
29
private
30
31
def return_value_on_eof(length)
32
- return '' if length.nil? || length.zero?
+ '' if length.nil? || length.zero?
33
end
34
35
def fill_buffer(min_length)
0 commit comments