Don't Replace Underscores

This commit is contained in:
Gregory Mitchell 2024-10-19 15:42:29 -05:00
parent 3419d2fd8e
commit a137832311
No known key found for this signature in database
GPG key ID: 771A6C995A086B84
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -124624,7 +124624,7 @@ class JetBrainsDistribution extends base_installer_1.JavaBase {
vstring = tag.substring(tag.lastIndexOf('-') + 1); vstring = tag.substring(tag.lastIndexOf('-') + 1);
break; break;
case 1: case 1:
vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); vstring = tag.substring(2).replace(/-/g, '');
break; break;
case undefined: // 0 case undefined: // 0
vstring = tag.substring(3); vstring = tag.substring(3);

View file

@ -138,7 +138,7 @@ export class JetBrainsDistribution extends JavaBase {
vstring = tag.substring(tag.lastIndexOf('-') + 1); vstring = tag.substring(tag.lastIndexOf('-') + 1);
break; break;
case 1: case 1:
vstring = tag.substring(2).replace(/-/g, '').replace(/_/g, '.'); vstring = tag.substring(2).replace(/-/g, '');
break; break;
case undefined: // 0 case undefined: // 0
vstring = tag.substring(3); vstring = tag.substring(3);