Skip to content

Commit

Permalink
revert testing regex
Browse files Browse the repository at this point in the history
  • Loading branch information
syj67507 committed May 17, 2024
1 parent 78b6d7c commit 3373a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ export default class GitHubClient {
pullRequests: data.pullRequests.nodes.map((node) => {
const ticketTags: ConfiguredRepo["jiraTags"] = [];
configuredRepo?.jiraTags?.forEach((jiraTag) => {
// const regex = new RegExp(`${jiraTag}-\\d+`, "g");
const regex = new RegExp(jiraTag, "g"); // For testing
const regex = new RegExp(`${jiraTag}-\\d+`, "g");
// const regex = new RegExp(jiraTag, "g"); // For testing

const ticketsInTitle = node.title.match(regex);
const ticketsInBody = node.body.match(regex);
Expand Down

0 comments on commit 3373a09

Please sign in to comment.