mirror of
https://github.com/actions/setup-java.git
synced 2024-11-15 06:28:04 +00:00
Don't Replace Underscores
This commit is contained in:
parent
3419d2fd8e
commit
a137832311
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);
|
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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user