Skip to content

Commit 46b7eed

Browse files
committed
remove the purge option
1 parent ee49ecc commit 46b7eed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,6 @@ def member_activity
176176
member_detail = "#{member[:login]} <#{member[:email] unless member[:email].nil?}>"
177177
info "#{member_detail} is inactive\n"
178178
csv << [member_detail]
179-
if false # ARGV[2] == "purge"
180-
info "removing #{member[:login]}\n"
181-
@client.remove_organization_member(ORGANIZATION, member[:login])
182-
end
183179
end
184180
end
185181
end
@@ -202,10 +198,6 @@ def member_activity
202198
options[:organization] = o
203199
end
204200

205-
opts.on('-p', '--purge', "Purge the inactive members (WARNING - DESTRUCTIVE!)") do |p|
206-
options[:purge] = p
207-
end
208-
209201
opts.on('-v', '--verbose', "More output to STDERR") do |v|
210202
@debug = true
211203
options[:verbose] = v

0 commit comments

Comments
 (0)