mirror of
https://github.com/actions/setup-java.git
synced 2024-12-01 21:00:56 -05:00
Don't Replace Underscores
This commit is contained in:
parent
3419d2fd8e
commit
a137832311
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue