File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -536,7 +536,7 @@ class PackageNameIndex {
536536 String word, {
537537 IndexedScore ? filterOnNonZeros,
538538 }) {
539- final scoreore = IndexedScore (_packageNames);
539+ final score = IndexedScore (_packageNames);
540540 final singularWord = word.length <= 3 || ! word.endsWith ('s' )
541541 ? word
542542 : word.substring (0 , word.length - 1 );
@@ -550,7 +550,7 @@ class PackageNameIndex {
550550
551551 final entry = _data[i];
552552 if (entry.collapsed.contains (collapsedWord)) {
553- scoreore .setValue (i, 1.0 );
553+ score .setValue (i, 1.0 );
554554 continue ;
555555 }
556556 var matched = 0 ;
@@ -563,11 +563,11 @@ class PackageNameIndex {
563563 if (matched > 0 ) {
564564 final v = matched / parts.length;
565565 if (v >= 0.5 ) {
566- scoreore .setValue (i, v);
566+ score .setValue (i, v);
567567 }
568568 }
569569 }
570- return scoreore ;
570+ return score ;
571571 }
572572}
573573
You can’t perform that action at this time.
0 commit comments