Skip to content

Commit b919e44

Browse files
chore: tweaks
1 parent 9e7fb81 commit b919e44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/api-helper.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ export default class ApiHelper {
320320
public pullsUpdate = async(number: number, detail: PullsUpdateParams): Promise<PullsUpdateResponseData> => this.getResponseData((this.octokit as RestEndpointMethods).pulls.update({
321321
...this.context.repo,
322322
'pull_number': number,
323-
base: (await this.getRefForUpdate(false)).replace(/^heads\//, ''),
324323
state: 'open',
325324
...detail,
326325
}));
@@ -508,7 +507,6 @@ export default class ApiHelper {
508507

509508
await this.pullsUpdate(pullRequest.number, {
510509
state: 'closed',
511-
base: undefined,
512510
});
513511
} else {
514512
this.callLogger(logger => logger.info('There is no PullRequest named [%s]', branchName));

0 commit comments

Comments
 (0)