From c2e9e621d7e9a550c95df584828d5c8fa870a2b4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 14 Aug 2023 23:18:59 -0400 Subject: [PATCH] Fix delete branch log message --- dist/index.js | 6 +----- src/classes/issues-processor.ts | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/dist/index.js b/dist/index.js index 343c8313..3cb4bb04 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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`); diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 31bbb99d..41017898 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -946,11 +946,7 @@ export class IssuesProcessor { private async _deleteBranch(issue: Issue): Promise { 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);