Skip to content

Commit

Permalink
Update create-new-issue.js
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Dec 4, 2023
1 parent 6b6d2b6 commit 592b1bb
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ const createIssue = async (owner, repo, inactiveLists) => {
const pathway = 'github-actions/trigger-schedule/list-inactive-members/inactive-members.md';
const issueData = issueTemplateParser(pathway);

let title = issueData[2]
console.log('title = ', + title + '\n\n');
let labels = issueData[3]
let title = issueData[2].toString()
console.log(title);
let labels = issueData[3].toString()
console.log('labels = ', + labels + '\n\n');
let milestone = issueData[4];
console.log('title = ', + title + '\n\n');
let body = issueData[6];

console.log(milestone);
let body = issueData[6].toString();
console.log(body);
// Replace variables on issue template
body = body.replace('${notifiedList}', notifiedList);
body = body.replace('${removedList}', removedList);
Expand Down

0 comments on commit 592b1bb

Please sign in to comment.