diff --git a/src/index.test.ts b/src/index.test.ts index c0a5ca2..2fed06f 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -56,7 +56,7 @@ describe('action', () => { pathToDownload, name, name, - version + version, ); expect(mockedCore.addPath).toBeCalledWith(download.binPath); }); diff --git a/src/utils.test.ts b/src/utils.test.ts index 65063a4..384af3d 100644 --- a/src/utils.test.ts +++ b/src/utils.test.ts @@ -23,7 +23,7 @@ describe('getDownloadObject', () => { ...testSuites, ...architectures.map((arch) => [os, arch] as [string, string]), ], - [] as [string, string][] + [] as [string, string][], ); describe.each(table)('when OS is %p and arch is %p', (os, arch) => { diff --git a/src/utils.ts b/src/utils.ts index fda90e2..a8744a9 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -59,7 +59,7 @@ export function getDownloadObject(version: string, name: string) { // join instead of resolve or else path will be broken on windows dest: path.join(binPath, name + (platform === 'win32' ? '.exe' : '')), url: `https://codeclimate.com/downloads/test-reporter/test-reporter-${version}-${getOS( - platform + platform, )}-${getArch(arch)}`, }; }