Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Commit

Permalink
Take correct match from tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Aug 28, 2019
1 parent 94a760c commit 442c86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/converge/pullRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function onPullRequestOpened(sdm: SoftwareDeliveryMachine): EventHandlerR
let tagMatches = tagRegex.exec(pr.body);
const tags = [];
while (!!tagMatches) {
tags.push(tagMatches[0]);
tags.push(tagMatches[1]);
tagMatches = tagRegex.exec(pr.body);
}

Expand Down

0 comments on commit 442c86f

Please sign in to comment.