File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ extension SwiftlyCommand {
106106 }
107107
108108 // Verify that the configuration exists and can be loaded
109- _ = try Config . load ( ctx)
109+ _ = try await Config . load ( ctx)
110110
111111 let swiftlyRelease = try await ctx. httpClient. getCurrentSwiftlyRelease ( )
112112 let shouldUpdateSwiftly = try swiftlyRelease. swiftlyVersion > SwiftlyCore . version
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ struct Uninstall: SwiftlyCommand {
5353 versionUpdateReminder ( )
5454 }
5555
56- let startingConfig = try Config . load ( ctx)
56+ let startingConfig = try await Config . load ( ctx)
5757
5858 let toolchains : [ ToolchainVersion ]
5959 if self . toolchain == " all " {
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ struct Update: SwiftlyCommand {
8888 versionUpdateReminder ( )
8989 }
9090
91- var config = try Config . load ( ctx)
91+ var config = try await Config . load ( ctx)
9292
9393 guard let parameters = try await self . resolveUpdateParameters ( ctx, & config) else {
9494 if let toolchain = self . toolchain {
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ struct Use: SwiftlyCommand {
6565 versionUpdateReminder ( )
6666 }
6767
68- var config = try Config . load ( ctx)
68+ var config = try await Config . load ( ctx)
6969
7070 // This is the bare use command where we print the selected toolchain version (or the path to it)
7171 guard let toolchain = self . toolchain else {
You can’t perform that action at this time.
0 commit comments