e-cloud/copyrightizen

View on GitHub
lib/cli/runner.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function run has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function run(config: MergedConfigurationModel) {
  const filesGlobMatchedMap = new Map<string, ScopeNameAndExt>()
  const precedenceScopes = await loadTemplates(excludeNodeModulesForScopes(buildPrecedenceScopes(config)))
  const precedenceScopeMap = precedenceScopes.reduce((result, val) => {
    result.set(val.name, val)
Severity: Minor
Found in lib/cli/runner.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status