Skip to content

Commit

Permalink
Try fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo committed Oct 24, 2024
1 parent 8fb3dd5 commit d599e1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/src/stores/RootProjectsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { RootProject } from "../rootProject/RootProject";
import { GRADLE_BUILD_FILE_NAMES } from "../constant";

async function getNestedRootProjectFolders(): Promise<string[]> {
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)))];
}

Expand Down

0 comments on commit d599e1c

Please sign in to comment.