From d458ab8cc92def8c770ca8dfebb310d2c6ea3dc9 Mon Sep 17 00:00:00 2001 From: Saagar Jha Date: Wed, 29 May 2024 05:00:31 -0700 Subject: [PATCH] Reformat TestFlight script --- Release/send_to_testflight.swift | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Release/send_to_testflight.swift b/Release/send_to_testflight.swift index 4bd0f17..3659687 100755 --- a/Release/send_to_testflight.swift +++ b/Release/send_to_testflight.swift @@ -105,7 +105,7 @@ struct API { let next = try await getRequest(endpoint: endpoint, parsing: Response.self) result.append(contentsOf: next.data) nextEndpoint = next.links.next - } + } return result } } @@ -331,12 +331,14 @@ for build in builds { print("\(version.attributes.platform.rawValue)") } -let macOSBuild = builds[buildPlatforms.firstIndex { - $0.attributes.platform == .MAC_OS -}!] -let visionOSBuild = builds[buildPlatforms.firstIndex { - $0.attributes.platform == .VISION_OS -}!] +let macOSBuild = builds[ + buildPlatforms.firstIndex { + $0.attributes.platform == .MAC_OS + }!] +let visionOSBuild = builds[ + buildPlatforms.firstIndex { + $0.attributes.platform == .VISION_OS + }!] print("Waiting for builds to process...")