提交 ad97bd74 编写于 作者: M Matt Bierner

Exclude tsconfig files under dot file directories

Fixes #88328
上级 5c02e4b2
......@@ -18,7 +18,7 @@ export default class TsConfigProvider {
return [];
}
const configs = new Map<string, TSConfig>();
for (const config of await vscode.workspace.findFiles('**/tsconfig*.json', '**/node_modules/**')) {
for (const config of await vscode.workspace.findFiles('**/tsconfig*.json', '**/{node_modules,.*}/**')) {
const root = vscode.workspace.getWorkspaceFolder(config);
if (root) {
configs.set(config.fsPath, {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册