Skip to content

Commit 4cc321f

Browse files
authored
fix downloadAndPatch
1 parent 4cfd1a9 commit 4cc321f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cherry_pick.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default class CherryPick {
7171
owner: this.owner,
7272
repo: this.repo
7373
}, false, cli);
74-
const expectedCommitShas =
74+
this.expectedCommitShas =
7575
metadata.data.commits.map(({ commit }) => commit.oid);
7676

7777
const amend = await cli.prompt(
@@ -84,7 +84,7 @@ export default class CherryPick {
8484
}
8585

8686
try {
87-
const commitInfo = await this.downloadAndPatch(expectedCommitShas);
87+
const commitInfo = await this.downloadAndPatch();
8888
const cleanLint = await this.validateLint();
8989
if (cleanLint === LINT_RESULTS.FAILED) {
9090
cli.error('Patch still contains lint errors. ' +

0 commit comments

Comments
 (0)