mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
format code
This commit is contained in:
parent
3647a1d3c5
commit
3eb41a6796
1 changed files with 10 additions and 10 deletions
|
@ -208,7 +208,7 @@ describe('setupJava', () => {
|
||||||
|
|
||||||
spyFsStat = jest.spyOn(fs, 'existsSync');
|
spyFsStat = jest.spyOn(fs, 'existsSync');
|
||||||
spyFsStat.mockImplementation((file: string) => {
|
spyFsStat.mockImplementation((file: string) => {
|
||||||
return file.endsWith('Contents/Home');
|
return file.endsWith('Contents/Home');
|
||||||
});
|
});
|
||||||
|
|
||||||
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
||||||
|
@ -242,7 +242,7 @@ describe('setupJava', () => {
|
||||||
});
|
});
|
||||||
spyFsStat = jest.spyOn(fs, 'existsSync');
|
spyFsStat = jest.spyOn(fs, 'existsSync');
|
||||||
spyFsStat.mockImplementation((file: string) => {
|
spyFsStat.mockImplementation((file: string) => {
|
||||||
return file.endsWith('Contents/Home');
|
return file.endsWith('Contents/Home');
|
||||||
});
|
});
|
||||||
|
|
||||||
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue