-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 3469 dependency transition 14 #3575
Conversation
@@ -19,7 +19,7 @@ import PackageDescription | |||
let package = Package( | |||
name: "SPI-Server", | |||
platforms: [ | |||
.macOS(.v13) | |||
.macOS(.v15) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macOS 15 is required for typed throw runtime support due to our use of
@Dependency(\.github.fetchMetadata) var fetchMetadata
below.
guard case Github.Error.requestFailed(.badRequest) = error else { | ||
XCTFail("unexpected error: \(error.localizedDescription)") | ||
return | ||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is now superfluous. It tested the parseOwnerName
part of the static func fetchMetadata(client: Client, packageUrl: String) async throws → Metadata
overload that was actually not used and which I removed.
85201b5
to
d1f9586
Compare
This moves
fetchMetadata
toGithubClient
.