lib/integrations/github_labels.js
Function exports
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function () {
var VOTING_UNDERWAY = 'Voting Underway',
VOTING_REJECTED = 'Rejected',
VOTING_MERGED = 'Merged',
voteStatusLabels = [
Function setPrStatusLabel
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setPrStatusLabel(repo, label, pr) {
console.info('DEBUG: Getting labels on issue', {
user: repo.user,
repo: repo.repo,
number: pr.number