提交 adfbd113 编写于 作者: R Rob Lourens

Fix #29660 - 'src' in the search 'include' field should be treated as '**/src/**' now

上级 8eb1c457
......@@ -124,7 +124,7 @@ export class QueryBuilder {
p = '*' + p; // convert ".js" to "*.js"
}
return strings.format('{{0}/**,**/{0}}', p); // convert foo to {foo/**,**/foo} to cover files and folders
return strings.format('{**/{0}/**,**/{0}}', p); // convert foo to {foo/**,**/foo} to cover files and folders
});
const result: ISearchPathsResult = {};
......
......@@ -613,7 +613,7 @@ function cleanUndefinedQueryValues(q: any): void {
}
function globalGlob(str: string): string {
return `{${str}/**,**/${str}}`;
return `{**/${str}/**,**/${str}}`;
}
function patternsToIExpression(...patterns: string[]): IExpression {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册