Skip to content

Commit 30bb5c8

Browse files
committed
Update linting
1 parent 66e1df9 commit 30bb5c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adapter/highlight-adapter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function adaptHighlight(
4242
// formattedHit is the `_formatted` object returned by MeiliSearch.
4343
// It contains all the highlighted and croped attributes
4444
return Object.keys(formattedHit).reduce((result, key) => {
45-
; (result[key] as any) = {
45+
;(result[key] as any) = {
4646
value: replaceHighlightTags(
4747
formattedHit[key],
4848
highlightPreTag,
@@ -108,7 +108,7 @@ function adaptSnippet(
108108
// It contains all the highlighted and croped attributes
109109
return (Object.keys(formattedHit) as any[]).reduce((result, key) => {
110110
if (attributesToSnippet?.includes(key)) {
111-
; (result[key] as any) = {
111+
;(result[key] as any) = {
112112
value: snippetValue(
113113
formattedHit[key],
114114
snippetEllipsisText,

0 commit comments

Comments
 (0)