Add missing await

This commit is contained in:
Paul Merlin 2019-10-28 13:30:27 +01:00
parent c5e1979a6b
commit 15e064da79

View file

@ -40,7 +40,7 @@ async function resolveGradleExecutable(baseDirectory: string): Promise<string> {
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");