Skip to content

Commit

Permalink
Fix typos on Corretto (#665) (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang authored Aug 8, 2024
1 parent 6a0805f commit 67fbd72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123961,7 +123961,7 @@ class CorrettoDistribution extends base_installer_1.JavaBase {
const arch = this.distributionArchitecture();
const imageType = this.packageType;
if (core.isDebug()) {
console.time('Retrieving available versions for Coretto took'); // eslint-disable-line no-console
console.time('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
}
const availableVersionsUrl = 'https://corretto.github.io/corretto-downloads/latest_links/indexmap_with_checksum.json';
const fetchCurrentVersions = yield this.http.getJson(availableVersionsUrl);
Expand All @@ -123973,7 +123973,7 @@ class CorrettoDistribution extends base_installer_1.JavaBase {
const availableVersions = this.getAvailableVersionsForPlatform(eligibleVersions);
if (core.isDebug()) {
core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for Coretto took'); // eslint-disable-line no-console
console.timeEnd('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
core.debug(`Available versions: [${availableVersions.length}]`);
core.debug(availableVersions
.map(item => `${item.version}: ${item.correttoVersion}`)
Expand Down Expand Up @@ -127946,4 +127946,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"]
/******/ module.exports = __webpack_exports__;
/******/
/******/ })()
;
;
4 changes: 2 additions & 2 deletions src/distributions/corretto/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class CorrettoDistribution extends JavaBase {
const imageType = this.packageType;

if (core.isDebug()) {
console.time('Retrieving available versions for Coretto took'); // eslint-disable-line no-console
console.time('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
}

const availableVersionsUrl =
Expand All @@ -116,7 +116,7 @@ export class CorrettoDistribution extends JavaBase {

if (core.isDebug()) {
core.startGroup('Print information about available versions');
console.timeEnd('Retrieving available versions for Coretto took'); // eslint-disable-line no-console
console.timeEnd('Retrieving available versions for Corretto took'); // eslint-disable-line no-console
core.debug(`Available versions: [${availableVersions.length}]`);
core.debug(
availableVersions
Expand Down

0 comments on commit 67fbd72

Please sign in to comment.