mirror of
https://github.com/actions/setup-java.git
synced 2025-04-19 09:26:46 +00:00
chore: update wordings
This commit is contained in:
parent
6ba9d9dd2c
commit
b93179bb91
2 changed files with 6 additions and 6 deletions
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
|
@ -102784,7 +102784,7 @@ class DragonwellDistribution extends base_installer_1.JavaBase {
|
||||||
return fetchedDragonwellJson;
|
return fetchedDragonwellJson;
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
core.debug(`Fetching from the primary link: ${primaryUrl} ended with the error: ${err.message}`);
|
core.debug(`Fetching from the primary link: ${primaryUrl} ended up with the error: ${err.message}`);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -102803,12 +102803,12 @@ class DragonwellDistribution extends base_installer_1.JavaBase {
|
||||||
accept: 'application/vnd.github.VERSION.raw'
|
accept: 'application/vnd.github.VERSION.raw'
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
core.debug(`Trying to fetch available versions from the backup url: ${backupUrl}`);
|
core.debug(`Trying to fetch available versions info from the backup url: ${backupUrl}`);
|
||||||
const fetchedDragonwellVersions = (yield this.http.getJson(backupUrl, headers)).result;
|
const fetchedDragonwellVersions = (yield this.http.getJson(backupUrl, headers)).result;
|
||||||
return fetchedDragonwellVersions;
|
return fetchedDragonwellVersions;
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
core.debug(`Fetching from the backup url: ${backupUrl} ended with the error: ${err.message}`);
|
core.debug(`Fetching from the backup url: ${backupUrl} ended up with the error: ${err.message}`);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -208,7 +208,7 @@ export class DragonwellDistribution extends JavaBase {
|
||||||
return fetchedDragonwellJson;
|
return fetchedDragonwellJson;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
core.debug(
|
core.debug(
|
||||||
`Fetching from the primary link: ${primaryUrl} ended with the error: ${err.message}`
|
`Fetching from the primary link: ${primaryUrl} ended up with the error: ${err.message}`
|
||||||
);
|
);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ export class DragonwellDistribution extends JavaBase {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
core.debug(
|
core.debug(
|
||||||
`Trying to fetch available versions from the backup url: ${backupUrl}`
|
`Trying to fetch available versions info from the backup url: ${backupUrl}`
|
||||||
);
|
);
|
||||||
const fetchedDragonwellVersions = (
|
const fetchedDragonwellVersions = (
|
||||||
await this.http.getJson<IDragonwellAllVersions>(backupUrl, headers)
|
await this.http.getJson<IDragonwellAllVersions>(backupUrl, headers)
|
||||||
|
@ -239,7 +239,7 @@ export class DragonwellDistribution extends JavaBase {
|
||||||
return fetchedDragonwellVersions;
|
return fetchedDragonwellVersions;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
core.debug(
|
core.debug(
|
||||||
`Fetching from the backup url: ${backupUrl} ended with the error: ${err.message}`
|
`Fetching from the backup url: ${backupUrl} ended up with the error: ${err.message}`
|
||||||
);
|
);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue