Compare commits

..

2 Commits

Author SHA1 Message Date
John Oliver
ec37390610
Merge 5321a4dff0 into 78078da0cd 2023-10-18 11:30:05 +00:00
John Oliver
5321a4dff0 Fix linter issues 2023-10-18 12:29:55 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ describe('findPackageForDownload', () => {
});
it('version list is empty', async () => {
let spyHttpClient = jest.spyOn(HttpClient.prototype, 'getJson');
const spyHttpClient = jest.spyOn(HttpClient.prototype, 'getJson');
spyHttpClient.mockImplementation((requestUrl, additionalHeaders) => {
if (requestUrl.startsWith('https://api.adoptium.net/')) {

View File

@ -59,7 +59,7 @@ export class AdoptDistribution extends JavaBase {
this.temurinDistribution != null
) {
try {
let result = await this.temurinDistribution.findPackageForDownload(
const result = await this.temurinDistribution.findPackageForDownload(
version
);