From 73e20e3a6ffbdc9295d768bd5d412290710a368a Mon Sep 17 00:00:00 2001 From: Opportunity Date: Sat, 12 Oct 2019 12:43:41 +0800 Subject: [PATCH] fix --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 84256f5..d67b65d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,7 +58,7 @@ async function unixInstall(version: string, sha: string) { async function run() { try { - const { version, sha } = selectVersion() + const { version, sha } = await selectVersion() if (os.platform() === 'win32' || os.platform() === 'cygwin') await winInstall(version) else