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 168a137 commit 65961c9Copy full SHA for 65961c9
Sources/PackageGraph/ModulesGraph+Loading.swift
@@ -831,7 +831,7 @@ private func prepareProductDependencyNotFoundError(
831
// if indeed the dependency matches any of the products.
832
let declProductsAsDependency = packageBuilder.package.products.filter { product in
833
lookupByProductIDs ? product.identity == dependency.identity : product.name == dependency.name
834
- }.map(\.modules).flatMap { $0 }.filter { t in
+ }.flatMap(\.modules).filter { t in
835
t.name != dependency.name
836
}
837
if !declProductsAsDependency.isEmpty {
0 commit comments