superdesk/superdesk-client-core

View on GitHub
scripts/extensions/broadcasting/src/extension.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    activate: () => {
        const result: IExtensionActivationResult = privileges.hasPrivilege('rundowns')
            ? {
                contributions: {
                    pages: privileges.hasPrivilege('rundowns')
Severity: Minor
Found in scripts/extensions/broadcasting/src/extension.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status