Skip to content

Commit

Permalink
try ensure all labels are lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
FireLemons committed Feb 5, 2022
1 parent e81a163 commit 571f8f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function validateLabels (column_labels_index, labels) {
}

return isValidLabel
})
}).map((label) => label.toLowerCase())
}

// Validates an object containing a github column identifyer and a list of labels to add
Expand Down Expand Up @@ -444,6 +444,8 @@ async function main () {

const issueNumber = issueNumberMatchCapture[1]
console.log(await getIssueLabels(parseInt(issueNumber)))
console.log("TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT")
console.log(column_labels['labels'])
}
//const cardsLabeledCount = await labelCards(cards, column_labels['labels'])

Expand Down

0 comments on commit 571f8f4

Please sign in to comment.