Fix delete branch log message
This commit is contained in:
parent
184e7afe93
commit
c2e9e621d7
|
@ -942,11 +942,7 @@ class IssuesProcessor {
|
||||||
var _a;
|
var _a;
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
const issueLogger = new issue_logger_1.IssueLogger(issue);
|
const issueLogger = new issue_logger_1.IssueLogger(issue);
|
||||||
issueLogger.info(`Delete
|
issueLogger.info(`Delete branch from closed $$type - ${issue.title}`);
|
||||||
branch from closed $
|
|
||||||
$type
|
|
||||||
-
|
|
||||||
${issue.title}`);
|
|
||||||
const pullRequest = yield this.getPullRequest(issue);
|
const pullRequest = yield this.getPullRequest(issue);
|
||||||
if (!pullRequest) {
|
if (!pullRequest) {
|
||||||
issueLogger.info(`Not deleting this branch as no pull request was found for this $$type`);
|
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> {
|
private async _deleteBranch(issue: Issue): Promise<void> {
|
||||||
const issueLogger: IssueLogger = new IssueLogger(issue);
|
const issueLogger: IssueLogger = new IssueLogger(issue);
|
||||||
|
|
||||||
issueLogger.info(`Delete
|
issueLogger.info(`Delete branch from closed $$type - ${issue.title}`);
|
||||||
branch from closed $
|
|
||||||
$type
|
|
||||||
-
|
|
||||||
${issue.title}`);
|
|
||||||
|
|
||||||
const pullRequest: IPullRequest | undefined | void =
|
const pullRequest: IPullRequest | undefined | void =
|
||||||
await this.getPullRequest(issue);
|
await this.getPullRequest(issue);
|
||||||
|
|
Loading…
Reference in New Issue