From a13783231134e70acf8b85d7124952d748e47438 Mon Sep 17 00:00:00 2001 From: Gregory Mitchell <54124162+gmitch215@users.noreply.github.com> Date: Sat, 19 Oct 2024 15:42:29 -0500 Subject: [PATCH] Don't Replace Underscores --- dist/setup/index.js | 2 +- src/distributions/jetbrains/installer.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 62ab199..27fa97b 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124624,7 +124624,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase { vstring = tag.substring(tag.lastIndexOf('-') + 1); break; case 1: - vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); + vstring = tag.substring(2).replace(/-/g, ''); break; case undefined: // 0 vstring = tag.substring(3); diff --git a/src/distributions/jetbrains/installer.ts b/src/distributions/jetbrains/installer.ts index b0f5622..66e0e1c 100644 --- a/src/distributions/jetbrains/installer.ts +++ b/src/distributions/jetbrains/installer.ts @@ -138,7 +138,7 @@ export class JetBrainsDistribution extends JavaBase { vstring = tag.substring(tag.lastIndexOf('-') + 1); break; case 1: - vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); + vstring = tag.substring(2).replace(/-/g, ''); break; case undefined: // 0 vstring = tag.substring(3);