This commit is contained in:
Danny McCormick 2019-07-18 15:52:10 -04:00
commit dfc3d5fd77
2 changed files with 2 additions and 11 deletions

View file

@ -47,11 +47,7 @@ export async function getJava(
const downloadInfo = getDownloadInfo(refs, version);
try {
jdkFile = await tc.downloadTool(downloadInfo.url);
} catch {
throw Error(downloadInfo.url);
}
jdkFile = await tc.downloadTool(downloadInfo.url);
version = downloadInfo.version;
compressedFileExtension = IS_WINDOWS ? '.zip' : '.tar.gz';
} else {