dist/lib/label.js
function deleteLabels(server, labels) {
  return Promise.all(labels.map(formatLabel).map(function (_ref6) {
    var name = _ref6.name;
    var color = _ref6.color;
    return deleteLabel(server, name);
  }));
}
function deleteLabels(server, labels) {
  return Promise.all(labels.map(formatLabel).map(function (_ref6) {
    var name = _ref6.name;
    var color = _ref6.color;
    return deleteLabel(server, name);
  }));
}
function deleteLabels ( server , labels ) { return Promise . all ( labels . map ( formatLabel ) . map ( function ( _ref6 ) { var name = _ref6 . name ; var color = _ref6 . color ; return deleteLabel ( server , name ) ; } ) ) ; }
Deletes all of the current labels associated with the GitHub repo

@name deleteLabels
@function
@param {Object} server the server configuration object
@param {String} server.api the api endpoint to connect to
@param {String} server.token the api token to use
@param {String} server.repo the git repo to manipulate
@return {Promise}
Deletes all of the current labels associated with the GitHub repo