Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.emit('error', [error]);
this.onError.emit([error]);
} else {
if (this.logs.length > 0) {
this.out(`\n${this.logs.join('\n')}\n`);
}
this.displayFooter();
}
// Flush any stream output that still exists
this.flushBufferedStreams();
// Show the cursor incase it has been hidden
this.out(cursor.show);
}
showCursor(): this {
this.console.out(cursor.show);
return this;
}