graycoreio/daffodil

View on GitHub
libs/external-router/routing/src/guard/existence.guard.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  canActivate(
    next: ActivatedRouteSnapshot,
    state: RouterStateSnapshot,
  ): Observable<UrlTree | boolean> {
    return this.driver.resolve(this.urlNormalizer.normalize(state.url)).pipe(
Severity: Minor
Found in libs/external-router/routing/src/guard/existence.guard.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status