Skip to content

Commit

Permalink
Remove udids if already registered
Browse files Browse the repository at this point in the history
  • Loading branch information
henteko committed Aug 19, 2016
1 parent 34964ad commit 42e12d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deploygate/add_devices_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def start(token, owner_name, bundle_id, distribution_key, args, options)
end

def self.build(pool, bunlde_id, iphones, args, options)
iphones.reject! { |iphone| iphone['is_registered'] } # remove udids if already registered
devices = iphones.map do |iphone|
# TODO: reject iphone['is_registered'] = true
udid = iphone['udid']
device_name= iphone['device_name']
DeployGate::Xcode::MemberCenters::Device.new(udid, '', device_name)
Expand Down

0 comments on commit 42e12d5

Please sign in to comment.