Skip to content

Commit f74d675

Browse files
committed
special-case the __swiftinit package, to unblock #292
1 parent 39ad26a commit f74d675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/UnidocDB/Unidoc.DB.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ extension Unidoc.DB
666666
}
667667

668668
let local:Bool = snapshot.metadata.commit == nil
669+
&& snapshot.metadata.package.name != "__swiftinit"
669670

670671
guard
671672
let query:Unidoc.PinDependenciesQuery = .init(for: snapshot, locally: local)

0 commit comments

Comments
 (0)