node_modules/snyk/dist/cli/139.index.js
/**
   * Render the prompt to screen
   * @return {ConfirmPrompt} self
   */
Render the prompt to screen
@return {ConfirmPrompt} self
Render the prompt to screen @return { ConfirmPrompt } self
render(answer) {
    var message = this.getQuestion();
    if (typeof answer === 'boolean') {
      message += chalk.cyan(answer ? 'Yes' : 'No');
    } else {
      message += this.rl.line;
    }
    this.screen.render(message);
    return this;
  }
render ( answer ) { var message = this . getQuestion ( ) ; if ( typeof answer === 'boolean' ) { message += chalk . cyan ( answer ? 'Yes' : 'No' ) ; } else { message += this . rl . line ; } this . screen . render ( message ) ; return this ; }
Render the prompt to screen
 @return {ConfirmPrompt} self
Render the prompt to screen @return { ConfirmPrompt } self