node_modules/truffle/build/83.bundled.js
/**
   * Render the prompt to screen
   * @return {PasswordPrompt} self
   */
Render the prompt to screen
@return {PasswordPrompt} self
Render the prompt to screen @return { PasswordPrompt } self
render(error) {
    var message = this.getQuestion();
    var bottomContent = '';
    if (this.status === 'answered') {
      message += this.opt.mask
        ? chalk.cyan(mask(this.answer, this.opt.mask))
        : chalk.italic.dim('[hidden]');
    } else if (this.opt.mask) {
      message += mask(this.rl.line || '', this.opt.mask);
    } else {
      message += chalk.italic.dim('[input is hidden] ');
    }
    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 += this . opt . mask ? chalk . cyan ( mask ( this . answer , this . opt . mask ) ) : chalk . italic . dim ( '[hidden]' ) ; } else if ( this . opt . mask ) { message += mask ( this . rl . line || '' , this . opt . mask ) ; } else { message += chalk . italic . dim ( '[input is hidden] ' ) ; } if ( error ) { bottomContent = '\n' + chalk . red ( '>> ' ) + error ; } this . screen . render ( message , bottomContent ) ; }
Render the prompt to screen
 @return {PasswordPrompt} self
Render the prompt to screen @return { PasswordPrompt } self