node_modules/snyk/dist/cli/139.index.js
/**
   * Render the prompt to screen
   * @return {EditorPrompt} self
   */
Render the prompt to screen
@return {EditorPrompt} self
Render the prompt to screen @return { EditorPrompt } self
render(error) {
    var bottomContent = '';
    var message = this.getQuestion();
    if (this.status === 'answered') {
      message += chalk.dim('Received');
    } else {
      message += chalk.dim('Press <enter> to launch your preferred editor.');
    }
    if (error) {
      bottomContent = chalk.red('>> ') + error;
    }
    this.screen.render(message, bottomContent);
  }
render ( error ) { var bottomContent = '' ; var message = this . getQuestion ( ) ; if ( this . status === 'answered' ) { message += chalk . dim ( 'Received' ) ; } else { message += chalk . dim ( 'Press <enter> to launch your preferred editor.' ) ; } if ( error ) { bottomContent = chalk . red ( '>> ' ) + error ; } this . screen . render ( message , bottomContent ) ; }
Render the prompt to screen
 @return {EditorPrompt} self
Render the prompt to screen @return { EditorPrompt } self