lib/gym/xcodebuild_fixes/swift_fix.rb in gym-1.1.4 vs lib/gym/xcodebuild_fixes/swift_fix.rb in gym-1.1.5

- old
+ new

@@ -59,10 +59,10 @@ # @return the files or directories matching the pattern def zip_entries_matching(zipfile, file_pattern) files = [] Zip::File.open(zipfile) do |zip_file| zip_file.each do |entry| - files << entry.name if entry.name.match file_pattern + files << entry.name if entry.name.force_encoding("utf-8").match file_pattern end end files end end