Skip to content

Commit

Permalink
Explicitly ignores promise
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed Apr 30, 2024
1 parent 83f9762 commit b454918
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 b454918

Please sign in to comment.