fix cache dir issue

This commit is contained in:
Bryan MacFarlane committed 2020-03-26 10:38:51 -04:00
1 parent 2096a2c66a
commit 655555d319
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export async function downloadGo(
// extracts with a root folder that matches the fileName downloaded
const toolRoot = path.join(extPath, 'go');
toolPath = await tc.cacheDir(toolRoot, 'go', versionSpec);
toolPath = await tc.cacheDir(toolRoot, 'go', match.version);
}
} catch (error) {
throw new Error(`Failed to download version ${versionSpec}: ${error}`);