Skip to content

Commit ca8f660

Browse files
committed
a bit more output
1 parent 816bc5e commit ca8f660

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/ruby/find-inactive-members/find_inactive_members.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def member_email(login)
8080

8181
def organization_members
8282
# get all organization members and place into an array of hashes
83+
info "Finding #{@organization} members "
8384
@members = @client.organization_members(@organization).collect do |m|
8485
email =
8586
{
@@ -92,11 +93,12 @@ def organization_members
9293
end
9394

9495
def organization_repositories
96+
info "Gathering a list of repositories..."
9597
# get all repos in the organizaton and place into a hash
9698
@repositories = @client.organization_repositories(@organization).collect do |repo|
9799
repo["full_name"]
98100
end
99-
info "#{@repositories.length} repositories found.\n"
101+
info "#{@repositories.length} repositories discovered\n"
100102
end
101103

102104
# method to switch member status to active

0 commit comments

Comments
 (0)