Skip to content

Commit

Permalink
Merge pull request #355 from pnomolos/pnomolos/fix-rubocop-breakage
Browse files Browse the repository at this point in the history
Fix regression caused by automatic Rubocop fixes
  • Loading branch information
simonoff committed Mar 30, 2018
2 parents 2f80da6 + ffd0b67 commit c0a8ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zip/input_stream.rb
Expand Up @@ -129,7 +129,7 @@ def open_entry
end
if @current_entry && @current_entry.gp_flags & 8 == 8 && @current_entry.crc == 0 \
&& @current_entry.compressed_size == 0 \
&& @current_entry.empty? && !@internal
&& @current_entry.size == 0 && !@internal
raise GPFBit3Error,
'General purpose flag Bit 3 is set so not possible to get proper info from local header.' \
'Please use ::Zip::File instead of ::Zip::InputStream'
Expand Down

0 comments on commit c0a8ad9

Please sign in to comment.