mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 01:46:46 +00:00
Fix typo (#380)
This commit is contained in:
parent
d854b6da19
commit
7bbeb80d24
9 changed files with 37 additions and 37 deletions
|
@ -144,8 +144,8 @@ describe('getAvailableVersions', () => {
|
|||
});
|
||||
});
|
||||
|
||||
const mockPlatform = (distributon: CorrettoDistribution, platform: string) => {
|
||||
distributon['getPlatformOption'] = () => platform;
|
||||
const mockPlatform = (distribution: CorrettoDistribution, platform: string) => {
|
||||
distribution['getPlatformOption'] = () => platform;
|
||||
const mockedExtension = platform === 'windows' ? 'zip' : 'tar.gz';
|
||||
spyGetDownloadArchiveExtension.mockReturnValue(mockedExtension);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue