From 95cb30978eacbba4a5a2aa5fd262e1b7fbb50dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Falconnier?= Date: Sun, 19 May 2024 07:15:05 +0200 Subject: [PATCH] Fix signingID condition --- Source/santabundleservice/SNTBundleService.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/santabundleservice/SNTBundleService.m b/Source/santabundleservice/SNTBundleService.m index 893d18836..84cdfa83b 100644 --- a/Source/santabundleservice/SNTBundleService.m +++ b/Source/santabundleservice/SNTBundleService.m @@ -231,10 +231,8 @@ - (NSDictionary *)generateEventsFromBinaries:(NSArray *)fis if (cs.signingID) { if (cs.teamID) { se.signingID = [NSString stringWithFormat:@"%@:%@", cs.teamID, cs.signingID]; - } else { - if (cs.platformBinary) { - se.signingID = [NSString stringWithFormat:@"platform:%@", cs.signingID]; - } + } else if (cs.platformBinary) { + se.signingID = [NSString stringWithFormat:@"platform:%@", cs.signingID]; } }