Skip to content

Commit 2041daa

Browse files
committed
Fix lint errors
1 parent 807ce4e commit 2041daa

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/git-utils.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as sinon from "sinon";
88

99
import * as actionsUtil from "./actions-util";
1010
import * as gitUtils from "./git-utils";
11-
import { setupActionsVars, setupTests, SHA256_GITHUB_SHA } from "./testing-utils";
11+
import { setupActionsVars, setupTests } from "./testing-utils";
1212
import { withTmpDir } from "./util";
1313

1414
setupTests(test);
@@ -405,9 +405,7 @@ test.serial(
405405

406406
sinon
407407
.stub(gitUtils as any, "runGitCommand")
408-
.resolves(
409-
`commit ${mergeSha}\nparent ${baseOid}\nparent ${headOid}\n`,
410-
);
408+
.resolves(`commit ${mergeSha}\nparent ${baseOid}\nparent ${headOid}\n`);
411409

412410
const result = await gitUtils.determineBaseBranchHeadCommitOid(__dirname);
413411
t.deepEqual(result, baseOid);

0 commit comments

Comments
 (0)