Chocobozzz/PeerTube

View on GitHub
client/src/app/core/routing/scroll.service.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function produceScroll has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private produceScroll () {
    // When we add the a-state parameter, we don't want to alter the scroll
    this.peertubeRouter.getNavigationEndEvents().pipe(pairwise())
                      .subscribe(([ e1, e2 ]) => {
                        try {
Severity: Minor
Found in client/src/app/core/routing/scroll.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status