Merge c2e9e621d7e9a550c95df584828d5c8fa870a2b4 into 3f3b0175e8c66fb49b9a6d5a0cd1f8436d4c3ab6
This commit is contained in:
commit
f48d5b4d62
6
dist/index.js
vendored
6
dist/index.js
vendored
@ -942,11 +942,7 @@ class IssuesProcessor {
|
||||
var _a;
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const issueLogger = new issue_logger_1.IssueLogger(issue);
|
||||
issueLogger.info(`Delete
|
||||
branch from closed $
|
||||
$type
|
||||
-
|
||||
${issue.title}`);
|
||||
issueLogger.info(`Delete branch from closed $$type - ${issue.title}`);
|
||||
const pullRequest = yield this.getPullRequest(issue);
|
||||
if (!pullRequest) {
|
||||
issueLogger.info(`Not deleting this branch as no pull request was found for this $$type`);
|
||||
|
||||
@ -947,11 +947,7 @@ export class IssuesProcessor {
|
||||
private async _deleteBranch(issue: Issue): Promise<void> {
|
||||
const issueLogger: IssueLogger = new IssueLogger(issue);
|
||||
|
||||
issueLogger.info(`Delete
|
||||
branch from closed $
|
||||
$type
|
||||
-
|
||||
${issue.title}`);
|
||||
issueLogger.info(`Delete branch from closed $$type - ${issue.title}`);
|
||||
|
||||
const pullRequest: IPullRequest | undefined | void =
|
||||
await this.getPullRequest(issue);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user