From 67fbd726daaf08212a7b021c1c4d117f94a81dd3 Mon Sep 17 00:00:00 2001 From: John Jiang Date: Fri, 9 Aug 2024 01:07:49 +0800 Subject: [PATCH] Fix typos on Corretto (#665) (#666) --- dist/setup/index.js | 6 +++--- src/distributions/corretto/installer.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 2b6d6c1..be40d6d 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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); @@ -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}`) @@ -127946,4 +127946,4 @@ module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"] /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; \ No newline at end of file +; diff --git a/src/distributions/corretto/installer.ts b/src/distributions/corretto/installer.ts index 1e6329c..bc073ed 100644 --- a/src/distributions/corretto/installer.ts +++ b/src/distributions/corretto/installer.ts @@ -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 = @@ -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