bin/soopr in soopr-0.2.0 vs bin/soopr in soopr-0.2.1
- old
+ new
@@ -30,13 +30,13 @@
end
main do |organisation, team|
Octokit.configure do |c|
c.netrc = true
+ c.auto_paginate = true
end
logger.debug "Starting to fetch teams for organisation '#{organisation}'"
-
teams = Octokit.organization_teams organisation
team_resource = teams.find{ |t| t.name == team}
if team_resource.nil?
exit_now! 1, "No team with name '#{team}' could be found"
end