Fix delete branch log message
This commit is contained in:
parent
184e7afe93
commit
c2e9e621d7
|
@ -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`);
|
||||
|
|
|
@ -946,11 +946,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…
Reference in New Issue