Skip to content

Commit 87f1ceb

Browse files
committed
And done
1 parent e7cc776 commit 87f1ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/zip_kit/streamer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def update_last_entry_and_write_data_descriptor(crc32:, compressed_size:, uncomp
497497
# end
498498
# @return [Integer] position in the output stream / ZIP archive
499499
def rollback!
500-
@files.pop if @remove_last_file_at_rollback = false
500+
@files.pop if @remove_last_file_at_rollback
501501

502502
# Recreate the path set from remaining entries (PathSet does not support cheap deletes yet)
503503
@path_set.clear

0 commit comments

Comments
 (0)