Skip to content

Commit 468f889

Browse files
committed
Add return statement....
1 parent 34dc729 commit 468f889

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
9696
}
9797
}
9898

99+
if (acronymMatchData.Count == query.Length && acronymScore >= 60)
100+
return new MatchResult(true, UserSettingSearchPrecision, acronymMatchData, acronymScore);
101+
99102
var fullStringToCompareWithoutCase = opt.IgnoreCase ? stringToCompare.ToLower() : stringToCompare;
100103

101104

0 commit comments

Comments
 (0)