node_modules/truffle/build/83.bundled.js
/**
   * Render the prompt to screen
   * @return {RawListPrompt} self
   */
Render the prompt to screen
@return {RawListPrompt} self
Render the prompt to screen @return { RawListPrompt } self
render(error) {
    var message = this.getQuestion();
    var bottomContent = '';
    if (this.status === 'answered') {
      message += chalk.cyan(this.answer);
    } else {
      var choicesStr = renderChoices(this.opt.choices, this.selected);
      message +=
        '\n' + this.paginator.paginate(choicesStr, this.selected, this.opt.pageSize);
      message += '\n  Answer: ';
    }
    message += this.rl.line;
    if (error) {
      bottomContent = '\n' + chalk.red('>> ') + error;
    }
    this.screen.render(message, bottomContent);
  }
render ( error ) { var message = this . getQuestion ( ) ; var bottomContent = '' ; if ( this . status === 'answered' ) { message += chalk . cyan ( this . answer ) ; } else { var choicesStr = renderChoices ( this . opt . choices , this . selected ) ; message += '\n' + this . paginator . paginate ( choicesStr , this . selected , this . opt . pageSize ) ; message += '\n  Answer: ' ; } message += this . rl . line ; if ( error ) { bottomContent = '\n' + chalk . red ( '>> ' ) + error ; } this . screen . render ( message , bottomContent ) ; }
Render the prompt to screen
 @return {RawListPrompt} self
Render the prompt to screen @return { RawListPrompt } self
// Render question