Skip to content

Commit e503f80

Browse files
committed
we should also count swiftPM obsolesce as removed
1 parent 107ffa3 commit e503f80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/Availability/Availability.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ extension Availability
3434
@inlinable public
3535
var isGenerallyRecommended:Bool
3636
{
37-
self.universal?.isGenerallyRecommended ?? true &&
38-
self.agnostic[.swift]?.isGenerallyRecommended ?? true
37+
self.universal?.isGenerallyRecommended ?? true
38+
&& self.agnostic[.swift]?.isGenerallyRecommended ?? true
39+
&& self.agnostic[.swiftPM]?.isGenerallyRecommended ?? true
3940
}
4041
}

0 commit comments

Comments
 (0)