Skip to content

Commit b456783

Browse files
committed
Fix :line:col in anything quick access when @ is in path
Fixes microsoft#185139
1 parent 8af267c commit b456783

File tree

1 file changed

+1
-1
lines changed
  • src/vs/workbench/contrib/search/common

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/search/common/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export interface IFilterAndRange {
157157
}
158158

159159
export function extractRangeFromFilter(filter: string, unless?: string[]): IFilterAndRange | undefined {
160-
if (!filter || unless?.some(value => filter.indexOf(value) !== -1)) {
160+
if (!filter || unless?.some(value => filter.indexOf(value) === 0)) {
161161
return undefined;
162162
}
163163

0 commit comments

Comments
 (0)