Skip to content

Commit db978bf

Browse files
authored
Merge pull request zignd#89 from egamma/master
Exclude npm_modules when fetching files to index
2 parents 7ad9444 + a5f366f commit db978bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fetcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Fetcher {
55
static async findAllParseableDocuments(): Promise<vscode.Uri[]> {
66
const languages = ParseEngineRegistry.supportedLanguagesIds.join(',');
77

8-
return await vscode.workspace.findFiles(`**/*.{${languages}}`, '');
8+
return await vscode.workspace.findFiles(`**/*.{${languages}}`, '**/node_modules');
99
}
1010
}
1111

0 commit comments

Comments
 (0)