src/frontend/packages/core/src/shared/components/ssh-viewer/ssh-viewer.component.ts
Function ngOnInit
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Confirmed
Confirmed
ngOnInit() {
if (!this.connectionStatus) {
return;
}
Function reconnect
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
reconnect() {
this.isConnecting = true;
this.errorMessage = undefined;
this.xterm.reset();
this.msgSubscription = this.sshStream