makeomatic/mservice

View on GitHub
packages/plugin-router/src/plugin.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function attach has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function attach(
  this: Microfleet,
  options: Partial<RouterPluginConfig>
): Promise<PluginInterface> {
  assert(this.hasPlugin('logger'), 'log module must be included')
Severity: Minor
Found in packages/plugin-router/src/plugin.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status