Skip to content

Commit 7d45d6d

Browse files
committed
Update TextSearchProvider.ts
1 parent 5818a0d commit 7d45d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/FileSystemProvider/TextSearchProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function searchMatchToLine(
8989
line = memend + (match.attrline ?? 1);
9090
} else {
9191
// This is a keyword with a multiline value
92-
line = i + (match.attrline - 1 ?? 0);
92+
line = i + (match.attrline - 1 || 0);
9393
}
9494
} else {
9595
// This is in the class member definition

0 commit comments

Comments
 (0)