Skip to content

Commit

Permalink
Explicitly ignores promise
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed May 1, 2024
1 parent fad4a39 commit dd7134e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/codemirror/src/searchprovider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export abstract class EditorSearchProvider<
}
// Move the highlight forward from the previous match, not looping.
// Also move the codemirror handler forward.
this.cmHandler.highlightNext();
void this.cmHandler.highlightNext();
void this.highlightNext(false, { from: 'previous-match' });
}
resolve(true);
Expand Down

0 comments on commit dd7134e

Please sign in to comment.