code: function format(answers) {
    // parentheses are only needed when a scope is present
    const scope = answers.scope ? '(' + answers.scope.trim() + ') ' : ''
  
    // build head line and limit it to 100
    const head = truncate(answers.type + ' ' + scope + answers.subject.trim(), 100)
  
    // wrap body at 100
    const body = wrap(answers.body, 100)
  
    const footer = (answers.issues.match(/#\d+/g) || [])
      .map(issue => `Closes ${issue}`)
      .join('\n')
  
    return [head, body, footer]
      .join('\n\n')
      .trim()
  }
docs: Format the git commit message from given answers.
  
  @param {Object} answers Answers provide by `inquier.js`
  @return {String} Formated git commit message