Skip to content

Commit

Permalink
Fix trailing comma and warning color
Browse files Browse the repository at this point in the history
  • Loading branch information
VeArnold committed Aug 29, 2022
1 parent fa065b6 commit 31c068a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def create(self,
raise ValueError(
f'Cannot create profile: the request does not include any {device_type} testing devices '
f'while they are required for creating a {profile_type} profile. If the profile creation is automatic, '
'ensure that at least one suitable testing device is registered on the Apple Developer Portal.'
'ensure that at least one suitable testing device is registered on the Apple Developer Portal.',
)

if devices is None:
Expand Down
2 changes: 1 addition & 1 deletion src/codemagic/apple/resources/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def devices_allowed(self) -> bool:
'"devices_allowed" is deprecated in favor of "devices_required" in version 0.31.3 '
'and is subject for removal in future releases.'
)
log.get_logger(self.__class__).warning(Colors.RED(warning))
log.get_logger(self.__class__).warning(Colors.YELLOW(warning))
return self.devices_required()

def devices_required(self) -> bool:
Expand Down

0 comments on commit 31c068a

Please sign in to comment.