From a3cd1fa047652db5cf39698cfcf5cbd6603c20d2 Mon Sep 17 00:00:00 2001 From: Opportunity Date: Sat, 12 Oct 2019 12:47:02 +0800 Subject: [PATCH] fix --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 6d3c837..28f0549 100644 --- a/dist/index.js +++ b/dist/index.js @@ -57,7 +57,7 @@ async function unixInstall(version, sha) { } async function run() { try { - const { version, sha } = versions_1.selectVersion(); + const { version, sha } = await versions_1.selectVersion(); if (os.platform() === 'win32' || os.platform() === 'cygwin') await winInstall(version); else