We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8af267c commit b456783Copy full SHA for b456783
src/vs/workbench/contrib/search/common/search.ts
@@ -157,7 +157,7 @@ export interface IFilterAndRange {
157
}
158
159
export function extractRangeFromFilter(filter: string, unless?: string[]): IFilterAndRange | undefined {
160
- if (!filter || unless?.some(value => filter.indexOf(value) !== -1)) {
+ if (!filter || unless?.some(value => filter.indexOf(value) === 0)) {
161
return undefined;
162
163
0 commit comments