mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] util/rubocop -A --only Style/RedundantBegin
b595d3cf0f
This commit is contained in:
parent
a532e9dc37
commit
72d09a568f
16 changed files with 148 additions and 188 deletions
|
@ -93,14 +93,12 @@ permission to.
|
|||
|
||||
def manage_owners(method, name, owners)
|
||||
owners.each do |owner|
|
||||
begin
|
||||
response = send_owner_request(method, name, owner)
|
||||
action = method == :delete ? "Removing" : "Adding"
|
||||
response = send_owner_request(method, name, owner)
|
||||
action = method == :delete ? "Removing" : "Adding"
|
||||
|
||||
with_response response, "#{action} #{owner}"
|
||||
rescue StandardError
|
||||
# ignore
|
||||
end
|
||||
with_response response, "#{action} #{owner}"
|
||||
rescue StandardError
|
||||
# ignore
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue