node_modules/snyk/dist/cli/139.index.js
/**
   * Close the interface and cleanup listeners
   */
Close the interface and cleanup listeners
Close the interface and cleanup listeners
close() {
    this.rl.removeListener('SIGINT', this.onForceClose);
    process.removeListener('exit', this.onForceClose);
    this.rl.output.unmute();
    if (this.activePrompt && typeof this.activePrompt.close === 'function') {
      this.activePrompt.close();
    }
    this.rl.output.end();
    this.rl.pause();
    this.rl.close();
  }
close ( ) { this . rl . removeListener ( 'SIGINT' , this . onForceClose ) ; process . removeListener ( 'exit' , this . onForceClose ) ; this . rl . output . unmute ( ) ; if ( this . activePrompt && typeof this . activePrompt . close === 'function' ) { this . activePrompt . close ( ) ; } this . rl . output . end ( ) ; this . rl . pause ( ) ; this . rl . close ( ) ; }
Close the interface and cleanup listeners
Close the interface and cleanup listeners
// Remove events listeners // Close the readline