From 4f206bae8819242d08efa59eae69565e1bd79df5 Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+gmitch215@users.noreply.github.com> Date: Tue, 18 Jun 2024 23:37:51 -0500 Subject: [PATCH] Fix Incorrect File Extension --- src/distributions/jetbrains/installer.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/distributions/jetbrains/installer.ts b/src/distributions/jetbrains/installer.ts index e089e04..b51d120 100644 --- a/src/distributions/jetbrains/installer.ts +++ b/src/distributions/jetbrains/installer.ts @@ -68,9 +68,7 @@ export class JetBrainsDistribution extends JavaBase { const javaArchivePath = await tc.downloadTool(javaRelease.url); core.info(`Extracting Java archive...`); - const extension = getDownloadArchiveExtension(); - - const extractedJavaPath = await extractJdkFile(javaArchivePath, extension); + const extractedJavaPath = await extractJdkFile(javaArchivePath); const archiveName = fs.readdirSync(extractedJavaPath)[0]; const archivePath = path.join(extractedJavaPath, archiveName);