dist/lib/label.js
function formatLabel(_ref4) {
  var name = _ref4.name;
  var color = _ref4.color;

  return { name: name, color: color.replace('#', '') };
}
function formatLabel(_ref4) {
  var name = _ref4.name;
  var color = _ref4.color;

  return { name: name, color: color.replace('#', '') };
}
function formatLabel ( _ref4 ) { var name = _ref4 . name ; var color = _ref4 . color ; return { name : name , color : color . replace ( '#' , '' ) } ; }
Properly formats an object for a label for a GitHub request

@name formatLabel
@function
@param {String} name the name of the label
@param {String} color the hexidecimal color of the label
@return {Object} a properly formated label object that can be sent to GitHub
Properly formats an object for a label for a GitHub request