From 0581983896dbb39b5cfa59dbe8dfdd920c0a974a Mon Sep 17 00:00:00 2001 From: Guillaume Marcoux Date: Wed, 4 Aug 2021 00:44:31 -0400 Subject: [PATCH] Fix wrong input of afterSwitchCommand (#18) This has to be done after writing https://github.com/anuraag016/Jest-Coverage-Diff/pull/17 too quickly... --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 6d95a45..dcc0c15 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,7 @@ async function run(): Promise { const githubToken = core.getInput('accessToken') const fullCoverage = JSON.parse(core.getInput('fullCoverageDiff')) const commandToRun = core.getInput('runCommand') - const commandAfterSwitch = core.getInput('runCommand') + const commandAfterSwitch = core.getInput('afterSwitchCommand') const delta = Number(core.getInput('delta')) const githubClient = github.getOctokit(githubToken) const prNumber = github.context.issue.number