Skip to content

Commit

Permalink
Fix the typo: blob -> glob (#3413)
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored Dec 5, 2023
1 parent d186e12 commit c2f5a6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,9 @@ async function workspaceContainsBuildFiles(): Promise<boolean> {
}

// Nothing found in negated exclusion pattern, do a normal search then.
const inclusionBlob: string = convertToGlob(inclusionPatterns);
const exclusionBlob: string = getExclusionGlob();
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) {
return true;
}

Expand Down

0 comments on commit c2f5a6a

Please sign in to comment.