Compare commits

..

1 Commits

Author SHA1 Message Date
John Oliver
f41fbe6974
Merge f9217513b1 into 78078da0cd 2023-10-17 14:19:24 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ describe('findPackageForDownload', () => {
});
it('version list is empty', async () => {
const spyHttpClient = jest.spyOn(HttpClient.prototype, 'getJson');
let 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 {
const result = await this.temurinDistribution.findPackageForDownload(
let result = await this.temurinDistribution.findPackageForDownload(
version
);