in index.js [330:345]
function removeLabels(context, labelNames) {
return labelNames && labelNames.length && Promise.all(
labelNames.map(
label => context.octokit.issues.removeLabel(
context.issue({
name: label
})
).catch(err => {
// Ignore error caused by not existing.
// if (err.message !== 'Not Found') {
// throw(err);
// }
})
)
);
}