spaceship/lib/spaceship/portal/ui/select_team.rb in fastlane-2.74.0.beta.20180106010004 vs spaceship/lib/spaceship/portal/ui/select_team.rb in fastlane-2.74.0.beta.20180107010004
- old
+ new
@@ -29,10 +29,11 @@
# {"personId"=>nil, "firstName"=>nil, "lastName"=>nil, "email"=>nil, "developerStatus"=>nil, "privileges"=>{}, "roles"=>["TEAM_ADMIN"], "teamMemberId"=>"HQR8N4GAAA"},
# "name"=>"Company GmbH"},
# {...}
# ]
+ # rubocop:disable Lint/MissingRequireStatement
def self.ci?
if Object.const_defined?("FastlaneCore") && FastlaneCore.const_defined?("Helper")
return FastlaneCore::Helper.ci?
end
return false
@@ -42,9 +43,10 @@
if Object.const_defined?("FastlaneCore") && FastlaneCore.const_defined?("UI")
return FastlaneCore::UI.interactive?
end
return true
end
+ # rubocop:enable Lint/MissingRequireStatement
def select_team
teams = client.teams
if teams.count == 0