spaceship/lib/spaceship/connect_api/models/build_delivery.rb in fastlane-2.132.0.beta.20190929200020 vs spaceship/lib/spaceship/connect_api/models/build_delivery.rb in fastlane-2.132.0.beta.20190930200026

- old
+ new

@@ -27,10 +27,10 @@ def self.all(app_id: nil, version: nil, build_number: nil) resps = Spaceship::ConnectAPI.get_build_deliveries( filter: { app: app_id, cfBundleShortVersionString: version, cfBundleVersion: build_number }, limit: 1 ).all_pages - return resps.map(&:to_models).flatten + return resps.flat_map(&:to_models) end end end end