cli/lib/generate.js
function logMessage (message, data) {
  if (!message) return
  render(message, data, (err, res) => {
    if (err) {
      console.error('\n   Error when rendering template complete message: ' + err.message.trim())
    }
    else {
      console.log('\n' + res.split(/\r?\n/g).map(line => '   ' + line).join('\n'))
    }
  })
}
function logMessage (message, data) {
  if (!message) return
  render(message, data, (err, res) => {
    if (err) {
      console.error('\n   Error when rendering template complete message: ' + err.message.trim())
    }
    else {
      console.log('\n' + res.split(/\r?\n/g).map(line => '   ' + line).join('\n'))
    }
  })
}
function logMessage ( message , data ) { if ( ! message ) return render ( message , data , ( err , res ) => { if ( err ) { console . error ( '\n   Error when rendering template complete message: ' + err . message . trim ( ) ) } else { console . log ( '\n' + res . split ( / \r?\n / g ) . map ( line => '   ' + line ) . join ( '\n' ) ) } } ) }
Display template complete message.

@param {String} message
@param {Object} data
Display template complete message .