Skip to content

Commit e82393c

Browse files
committed
Fix regression in get snapshot toolchains
1 parent 429a13f commit e82393c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftlyCore/HTTPClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ public struct SwiftlyHTTPClient {
363363
limit: Int? = nil,
364364
filter: ((ToolchainVersion.Snapshot) -> Bool)? = nil
365365
) async throws -> [ToolchainVersion.Snapshot] {
366-
let arch = a ?? String(describing: cpuArch)
366+
let arch = a ?? cpuArch.value2
367367

368368
let platformName = if platform.name == PlatformDefinition.macOS.name {
369369
"macos"

0 commit comments

Comments
 (0)