spaceship/lib/spaceship/du/du_client.rb in fastlane-2.86.0.beta.20180316050051 vs spaceship/lib/spaceship/du/du_client.rb in fastlane-2.86.0.beta.20180317050040

- old
+ new

@@ -87,10 +87,10 @@ req.headers['X-Apple-Upload-Validation-RuleSets'] = du_validation_rule_set if du_validation_rule_set req.headers['Content-Length'] = upload_file.file_size.to_s req.headers['Connection'] = "keep-alive" end - if r.status == 500 and r.body.include?("Server Error") + if r.status == 500 && r.body.include?("Server Error") return upload_file(app_version: app_version, upload_file: upload_file, path: path, content_provider_id: content_provider_id, sso_token: sso_token, du_validation_rule_set: du_validation_rule_set, app_id: app_id) end parse_upload_response(r) end