mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 09:51:47 +00:00
Update comment wording
This commit is contained in:
parent
a777c35f12
commit
8fd3868fc5
@ -181,7 +181,7 @@ export class CorrettoDistribution extends JavaBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private convertVersionToSemver(version: string) {
|
private convertVersionToSemver(version: string) {
|
||||||
// corretto uses 5 digit semver-like notation e.g. 17.0.6.10.1
|
// corretto uses semver-like notation e.g. 17.0.6.10.1
|
||||||
const versionArray = version.split('.');
|
const versionArray = version.split('.');
|
||||||
const mainVersion = versionArray.slice(0, 3).join('.');
|
const mainVersion = versionArray.slice(0, 3).join('.');
|
||||||
if (versionArray.length > 3) {
|
if (versionArray.length > 3) {
|
||||||
|
Loading…
Reference in New Issue
Block a user