diff --git a/__test__/installer.test.ts b/__test__/installer.test.ts index d01f1473..b40112e5 100644 --- a/__test__/installer.test.ts +++ b/__test__/installer.test.ts @@ -24,7 +24,7 @@ describe("installer", () => { const reviewdog = await installer.installReviewdog("v0.12.0", dir); await exec.exec(reviewdog, ["--version"]); }, - 5 * 60 * 1000 + 5 * 60 * 1000, ); it( @@ -34,7 +34,7 @@ describe("installer", () => { const reviewdog = await installer.installReviewdog("latest", dir); await exec.exec(reviewdog, ["--version"]); }, - 5 * 60 * 1000 + 5 * 60 * 1000, ); it( @@ -44,7 +44,7 @@ describe("installer", () => { const golangci = await installer.installGolangciLint("v1.41.1", dir); await exec.exec(golangci, ["--version"]); }, - 5 * 60 * 1000 + 5 * 60 * 1000, ); it( @@ -54,6 +54,6 @@ describe("installer", () => { const golangci = await installer.installGolangciLint("latest", dir); await exec.exec(golangci, ["--version"]); }, - 5 * 60 * 1000 + 5 * 60 * 1000, ); }); diff --git a/src/installer.ts b/src/installer.ts index 2b25acb6..1482a83c 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -114,7 +114,7 @@ async function tagToVersion(tag: string, owner: string, repo: string): Promise { "🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog", async () => { return await installer.installReviewdog(reviewdogVersion, tmpdir); - } + }, ); const golangci = await core.group( "Installing golangci-lint ... https://github.com/golangci/golangci-lint", async () => { return await installer.installGolangciLint(golangciLintVersion, tmpdir); - } + }, ); let cacheState: cache.State | undefined = undefined; @@ -63,7 +63,7 @@ async function run(): Promise { { cwd, ignoreReturnCode: true, - } + }, ); process.env["REVIEWDOG_GITHUB_API_TOKEN"] = core.getInput("github_token"); @@ -82,7 +82,7 @@ async function run(): Promise { cwd, input: Buffer.from(output.stdout, "utf-8"), ignoreReturnCode: true, - } + }, ); });