nycJSorg/angular-presentation

View on GitHub
libs/utils/src/lib/sync/directives/sync-user-value.directive.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function ngOnInit has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  ngOnInit() {
    if (!this.control) {
      throw new Error(
        'syncPresenterValue directive must be attached to a formControl'
      );
Severity: Minor
Found in libs/utils/src/lib/sync/directives/sync-user-value.directive.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status