From 15e064da796c8cef87c0dc48f1422600971a3cd1 Mon Sep 17 00:00:00 2001 From: Paul Merlin Date: Mon, 28 Oct 2019 13:30:27 +0100 Subject: [PATCH] Add missing await --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 93ddacb..62dbeb1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ async function resolveGradleExecutable(baseDirectory: string): Promise { const gradleVersion = inputOrNull("gradle-version"); if (gradleVersion != null) { - return path.resolve(provision.gradleVersion(gradleVersion)) + return path.resolve(await provision.gradleVersion(gradleVersion)) } const gradleExecutable = inputOrNull("gradle-executable");