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 3e07e32 commit 967cc54Copy full SHA for 967cc54
lib/src/model/canonicalization.dart
@@ -58,7 +58,7 @@ abstract mixin class Canonicalization
58
}
59
60
// Give a big boost if the library has the package name embedded in it.
61
- if (library.package.namePieces.intersection(library.namePieces).isEmpty) {
+ if (library.package.namePieces.intersection(library.namePieces).isNotEmpty) {
62
scoredCandidate._alterScore(1.0, _Reason.packageName);
63
64
0 commit comments