Skip to content

Commit

Permalink
Update log-contribution.js
Browse files Browse the repository at this point in the history
Debugging

Signed-off-by: Sean P. Goggins <s@goggins.com>
  • Loading branch information
sgoggins authored Aug 28, 2024
1 parent 673cfea commit 3c2bc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log-contribution.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const github = require('@actions/github');
// Improved parsing logic with more robust regex
const projectAreaMatch = issueBody.match(/Specify Area of Project \(1 - 5 words\):?\n+\s*(.*)/);
const dateCompletedMatch = issueBody.match(/Date of Completion:?\n+\s*(.*)/);
const typeOfContributionMatch = issueBody.match(/Specify the type of contribution \(e\.g\., Documentation, Community Building, etc\.\):?\n+\s*(.*)/);
const typeOfContributionMatch = issueBody.match(/Specify the type of contribution.*:\n+\s*(.*)/);

if (projectAreaMatch) {
projectArea = projectAreaMatch[1].trim();
Expand Down

0 comments on commit 3c2bc17

Please sign in to comment.