packages/commitizen-adapter/lib/commitizen-adapter.js
function getChoices() {
  const name = choice => fp.padStart(MAX_DESC)(choice.value)
  const desc = choice => wrap(choice.description, MAX)
  return types.map(choice => {
    if (choice.value === 'separator') return SEPARATOR
    return {
      name: `${name(choice)}  ${choice.emoji}  ${desc(choice)}`,
      value: choice.value,
      short: name(choice)
    }
  })
}
function getChoices() {
  const name = choice => fp.padStart(MAX_DESC)(choice.value)
  const desc = choice => wrap(choice.description, MAX)
  return types.map(choice => {
    if (choice.value === 'separator') return SEPARATOR
    return {
      name: `${name(choice)}  ${choice.emoji}  ${desc(choice)}`,
      value: choice.value,
      short: name(choice)
    }
  })
}
function getChoices ( ) { const name = choice => fp . padStart ( MAX_DESC ) ( choice . value ) const desc = choice => wrap ( choice . description , MAX ) return types . map ( choice => { if ( choice . value === 'separator' ) return SEPARATOR return { name : ` ${ name ( choice ) } ${ choice . emoji } ${ desc ( choice ) } ` , value : choice . value , short : name ( choice ) } } ) }
Parses the types to create a pretty choice
Parses the types to create a pretty choice