We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200153b commit 8a003f1Copy full SHA for 8a003f1
Sources/App/Commands/Analyze.swift
@@ -481,6 +481,7 @@ extension Analyze {
481
delta: VersionDelta) async throws {
482
// Preserve existing default branch doc archives to prevent a documentation gap
483
// https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/2288
484
+#warning("Add check for exactly one branch version.")
485
if let oldDefaultBranchDocArchives = delta.toDelete.first(where: { $0.isBranch })?.docArchives,
486
let newDefaultBranch = delta.toAdd.first(where: { $0.isBranch} ) {
487
newDefaultBranch.docArchives = oldDefaultBranchDocArchives
0 commit comments