From ab5c6536963813aaeab128b7059da9777122bae1 Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+gmitch215@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:39:23 -0500 Subject: [PATCH] `npm run build` (JBR) --- dist/setup/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 81ac5c3..5350a0f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124180,8 +124180,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase { core.info(`Downloading Java ${javaRelease.version} (${this.distribution}) from ${javaRelease.url} ...`); const javaArchivePath = yield tc.downloadTool(javaRelease.url); core.info(`Extracting Java archive...`); - const extension = (0, util_1.getDownloadArchiveExtension)(); - const extractedJavaPath = yield (0, util_1.extractJdkFile)(javaArchivePath, extension); + const extractedJavaPath = yield (0, util_1.extractJdkFile)(javaArchivePath); const archiveName = fs_1.default.readdirSync(extractedJavaPath)[0]; const archivePath = path_1.default.join(extractedJavaPath, archiveName); const version = this.getToolcacheVersionName(javaRelease.version);