Skip to content

Commit d82211d

Browse files
authored
add await for async function call (#2394)
Signed-off-by: Shi Chen <[email protected]>
1 parent 1cb29d2 commit d82211d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtimeStatusBarProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class RuntimeStatusBarProvider implements Disposable {
235235
let buildFilePath: string | undefined;
236236
const activeBuildTool: string | undefined = context.workspaceState.get(ACTIVE_BUILD_TOOL_STATE);
237237
if (!activeBuildTool) {
238-
if (!hasBuildToolConflicts()) {
238+
if (!(await hasBuildToolConflicts())) {
239239
// only one build tool exists in the project
240240
buildFilePath = await this.getBuildFilePathFromNames(projectPath, ["pom.xml", "build.gradle", "build.gradle.kts", "settings.gradle", "settings.gradle.kts"]);
241241
} else {

0 commit comments

Comments
 (0)