Skip to content

Commit 68a6981

Browse files
committed
Fix zip entry iteration for rubyzip 3.0.0
1 parent 5a27fad commit 68a6981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/lib/app_packager_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
app_packager.fix_subdir_permissions(@tmpdir, "#{@tmpdir}/application_contents")
217217

218218
has_dirs = Zip::File.open(input_zip) do |in_zip|
219-
in_zip.any?(&:directory?)
219+
in_zip.entries.any?(&:directory?)
220220
end
221221

222222
expect(has_dirs).to be_falsey

0 commit comments

Comments
 (0)