fastlane/lib/fastlane/actions/testfairy.rb in fastlane-2.86.0.beta.20180316050051 vs fastlane/lib/fastlane/actions/testfairy.rb in fastlane-2.86.0.beta.20180317050040

- old
+ new

@@ -16,10 +16,10 @@ builder.response(:json, content_type: /\bjson$/) builder.use(FaradayMiddleware::FollowRedirects) builder.adapter(:net_http) end - options[:file] = Faraday::UploadIO.new(ipa, 'application/octet-stream') if ipa and File.exist?(ipa) + options[:file] = Faraday::UploadIO.new(ipa, 'application/octet-stream') if ipa && File.exist?(ipa) symbols_file = options.delete(:symbols_file) if symbols_file options[:symbols_file] = Faraday::UploadIO.new(symbols_file, 'application/octet-stream') end