mirror of
https://github.com/actions/setup-java
synced 2024-12-22 13:12:43 +00:00
Fix linter issues
This commit is contained in:
parent
f9217513b1
commit
5321a4dff0
2 changed files with 2 additions and 2 deletions
|
@ -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/')) {
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue