From 70c9b8babbbc35750ccd32b17288b49c1cd3f212 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Thu, 24 Oct 2024 12:57:54 +0800 Subject: [PATCH] Try fixing test --- extension/src/stores/RootProjectsStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/stores/RootProjectsStore.ts b/extension/src/stores/RootProjectsStore.ts index 2f07a6f89..de05addff 100644 --- a/extension/src/stores/RootProjectsStore.ts +++ b/extension/src/stores/RootProjectsStore.ts @@ -7,7 +7,7 @@ import { RootProject } from "../rootProject/RootProject"; import { GRADLE_BUILD_FILE_NAMES } from "../constant"; async function getNestedRootProjectFolders(): Promise { - const matchingNestedWrapperFiles = await vscode.workspace.findFiles("**/{settings.gradle,settings.gradle.kts}"); + const matchingNestedWrapperFiles = await vscode.workspace.findFiles("**/{settings.gradle,settings.gradle.kts}") ?? []; return [...new Set(matchingNestedWrapperFiles.map((uri) => path.dirname(uri.fsPath)))]; }