Skip to content

Commit

Permalink
Separate CLI output with newlines for each device and fix line count
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii-yanushevskyi committed Jul 7, 2023
1 parent 6dee100 commit 24655c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/codemagic/tools/app_store_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def register_devices_from_file(
continue

if udid_pattern.match(device_udid) is None:
self.logger.warning(Colors.YELLOW(f'Invalid device UDID on line {line}: {device_udid!r}'))
self.logger.warning(Colors.YELLOW(f'Invalid device UDID on line {line + 1}: {device_udid!r}'))
continue

try:
Expand All @@ -551,6 +551,8 @@ def register_devices_from_file(
else:
registered_devices.append(device)

self.echo('') if should_print else None

return registered_devices

@cli.action(
Expand Down

0 comments on commit 24655c9

Please sign in to comment.