cloudfoundry/stratos

View on GitHub
src/frontend/packages/core/src/shared/components/ssh-viewer/ssh-viewer.component.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function ngOnInit has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

  ngOnInit() {
    if (!this.connectionStatus) {
      return;
    }

    Function reconnect has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      reconnect() {
        this.isConnecting = true;
        this.errorMessage = undefined;
        this.xterm.reset();
        this.msgSubscription = this.sshStream

      There are no issues that match your filters.

      Category
      Status