You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packageObservabilityScope.emit(info:"dependency on '\(resolvedPackage.package.identity)' is represented by similar locations ('\(resolvedPackage.package.manifest.packageLocation)' and '\(dependencyPackageRef.locationString)') which are treated as the same canonical location '\(dependencyPackageRef.canonicalLocation)'.")
273
277
}
274
278
275
279
// checks if two dependencies have the same explicit name which can cause target based dependency package lookup issue
// 9/2021 this is currently emitting a warning only to support backwards compatibility
8207
+
// we will escalate this to an error in a few versions to tighten up the validation
8208
+
try workspace.checkPackageGraph(roots:["Root"]){ graph, diagnostics in
8209
+
testDiagnostics(diagnostics, minSeverity:.info){ result in
8210
+
result.checkUnordered(
8211
+
diagnostic:"dependency on 'foo' is represented by similar locations ('https://github.com/org/foo.git' and 'https://github.com/ORG/Foo.git') which are treated as the same canonical location 'github.com/org/foo'.",
8212
+
severity:.info
8213
+
)
8214
+
result.checkUnordered(
8215
+
diagnostic:"dependency on 'baz' is represented by similar locations ('https://github.com/org/baz.git' and 'https://github.com/org/baz') which are treated as the same canonical location 'github.com/org/baz'.",
0 commit comments