packages/plugin-router/src/plugin.ts
Function attach
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function attach(
this: Microfleet,
options: Partial<RouterPluginConfig>
): Promise<PluginInterface> {
assert(this.hasPlugin('logger'), 'log module must be included')