From c2f5a6a165a3a3f32577dce03982952b1b99ca6f Mon Sep 17 00:00:00 2001 From: Sheng Chen <sheche@microsoft.com> Date: Tue, 5 Dec 2023 00:10:28 -0800 Subject: [PATCH] Fix the typo: blob -> glob (#3413) Signed-off-by: Sheng Chen <sheche@microsoft.com> --- src/extension.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 8f519e796..6afeaf57e 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -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; }