lib/milestone.js
Function getMilestones
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let getMilestones = (repo, eventId, github) => {
return new Promise(function (resolve, reject) {
log.debug('getMilestone()');
github.issues.getAllMilestones({
user: config.github.org,
- Create a ticketCreate a ticket