superdesk/superdesk-client-core

View on GitHub
scripts/apps/ingest/directives/authenticate-ingest-provider.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

Function authenticateIngestProvider has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function authenticateIngestProvider(actions: Array<{label: string; onClick(): void}>) {
    interface IProps {
        closeModal(): void;
    }

Severity: Minor
Found in scripts/apps/ingest/directives/authenticate-ingest-provider.tsx - About 1 hr to fix

    Function render has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            render() {
                return (
                    <Modal
                        visible
                        zIndex={1050}
    Severity: Minor
    Found in scripts/apps/ingest/directives/authenticate-ingest-provider.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status