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 d186e12 commit c2f5a6aCopy full SHA for c2f5a6a
src/extension.ts
@@ -516,9 +516,9 @@ async function workspaceContainsBuildFiles(): Promise<boolean> {
516
}
517
518
// Nothing found in negated exclusion pattern, do a normal search then.
519
- const inclusionBlob: string = convertToGlob(inclusionPatterns);
520
- const exclusionBlob: string = getExclusionGlob();
521
- if (inclusionBlob && (await workspace.findFiles(inclusionBlob, exclusionBlob, 1 /* maxResults */)).length > 0) {
+ const inclusionGlob: string = convertToGlob(inclusionPatterns);
+ const exclusionGlob: string = getExclusionGlob();
+ if (inclusionGlob && (await workspace.findFiles(inclusionGlob, exclusionGlob, 1 /* maxResults */)).length > 0) {
522
return true;
523
524
0 commit comments