We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 260fb39 + 5867741 commit f6062c1Copy full SHA for f6062c1
1 file changed
.github/workflows/scripts/cross-pr-checkout.swift
@@ -142,7 +142,7 @@ struct CrossRepoPR {
142
func getCrossRepoPrs(repository: String, prNumber: String) async throws -> [CrossRepoPR] {
143
var result: [CrossRepoPR] = []
144
let prInfo = try await getPRInfo(repository: repository, prNumber: prNumber)
145
- for line in prInfo.body?.split(separator: "\n") ?? [] {
+ for line in prInfo.body?.split(whereSeparator: \.isNewline) ?? [] {
146
guard line.lowercased().starts(with: "linked pr:") else {
147
continue
148
}
0 commit comments