Fix delete branch log message

This commit is contained in:
Josh Soref 2023-08-14 23:18:59 -04:00
parent 184e7afe93
commit c2e9e621d7
2 changed files with 2 additions and 10 deletions

6
dist/index.js vendored
View File

@ -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`);

View File

@ -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);