Skip to content

Commit 5b62e98

Browse files
committed
Update zip.select call to rubyzip 3.0.0
1 parent fa63f9c commit 5b62e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cloud_controller/app_packager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def size
5959

6060
def get_dirs_from_zip(zip_path)
6161
Zip::File.open(zip_path) do |in_zip|
62-
in_zip.select(&:directory?)
62+
in_zip.entries.select(&:directory?).map(&:name)
6363
end
6464
end
6565

0 commit comments

Comments
 (0)