Skip to content

Commit 59717a9

Browse files
committed
shouldMatchDescription
1 parent e0bbf3a commit 59717a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/lib/search/mem_index.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class InMemoryPackageIndex {
380380
final indexedPositiveList = packageScores.toIndexedPositiveList();
381381

382382
final matchDescription =
383-
TextMatchExtent.souldMatchDescription(textMatchExtent);
383+
TextMatchExtent.shouldMatchDescription(textMatchExtent);
384384
final matchReadme = TextMatchExtent.shouldMatchReadme(textMatchExtent);
385385
final matchApi = TextMatchExtent.shouldMatchApi(textMatchExtent);
386386

app/lib/search/search_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ abstract class TextMatchExtent {
334334
static bool shouldMatchName(int? value) => (value ?? unspecified) >= name;
335335

336336
/// Text search is on package names, descriptions and topic tags.
337-
static bool souldMatchDescription(int? value) =>
337+
static bool shouldMatchDescription(int? value) =>
338338
(value ?? unspecified) >= description;
339339

340340
/// Text search is on names, descriptions, topic tags and readme content.

0 commit comments

Comments
 (0)