We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
downloadAndPatch
1 parent 4cfd1a9 commit 4cc321fCopy full SHA for 4cc321f
lib/cherry_pick.js
@@ -71,7 +71,7 @@ export default class CherryPick {
71
owner: this.owner,
72
repo: this.repo
73
}, false, cli);
74
- const expectedCommitShas =
+ this.expectedCommitShas =
75
metadata.data.commits.map(({ commit }) => commit.oid);
76
77
const amend = await cli.prompt(
@@ -84,7 +84,7 @@ export default class CherryPick {
84
}
85
86
try {
87
- const commitInfo = await this.downloadAndPatch(expectedCommitShas);
+ const commitInfo = await this.downloadAndPatch();
88
const cleanLint = await this.validateLint();
89
if (cleanLint === LINT_RESULTS.FAILED) {
90
cli.error('Patch still contains lint errors. ' +
0 commit comments