spaceship/lib/spaceship/portal/provisioning_profile.rb in fastlane-2.17.0 vs spaceship/lib/spaceship/portal/provisioning_profile.rb in fastlane-2.17.1

- old
+ new

@@ -172,9 +172,14 @@ Direct # Mac-only else raise "Can't find class '#{attrs['distributionMethod']}'" end + # Parse the dates + # rubocop:disable Style/RescueModifier + attrs['dateExpire'] = (Time.parse(attrs['dateExpire']) rescue attrs['dateExpire']) + # rubocop:enable Style/RescueModifier + klass.client = @client obj = klass.new(attrs) return obj end