Skip to content

Commit

Permalink
run swiftformat
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Jul 3, 2023
1 parent 4860e21 commit 1e7fab7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions OctoKit/Review.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public extension Octokit {
}
}

#if compiler(>=5.5.2) && canImport(_Concurrency)
#if compiler(>=5.5.2) && canImport(_Concurrency)
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
func reviews(owner: String,
repository: String,
Expand Down Expand Up @@ -188,7 +188,7 @@ public extension Octokit {
decoder.dateDecodingStrategy = .formatted(Time.rfc3339DateFormatter)
return try await router.post(session, decoder: decoder, expectedResultType: Review.self)
}
#endif
#endif
}

enum ReviewsRouter: JSONPostRouter {
Expand Down Expand Up @@ -283,8 +283,6 @@ enum ReviewsRouter: JSONPostRouter {
}
}



var path: String {
switch self {
case let .listReviews(_, owner, repository, pullRequestNumber):
Expand Down

0 comments on commit 1e7fab7

Please sign in to comment.