Skip to content

Commit 1009491

Browse files
phortxCopilot
andauthored
Update src/requestHandler.ts
Co-authored-by: Copilot <[email protected]>
1 parent a8956ef commit 1009491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/requestHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ export default class RequestHandler {
10261026
if (result) {
10271027
const contextMatches: SearchContext[] = [];
10281028
for (const match of result.matches) {
1029-
if (match[0] == 0) {
1029+
if (match[0] === 0) {
10301030
// When start position is between 0 and positionOffset, that means the search term matched within the headline.
10311031
contextMatches.push({
10321032
match: {

0 commit comments

Comments
 (0)