packages/plugin-aws-elasticsearch/src/plugin.ts
Function attach
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export async function attach(
this: Microfleet,
opts: Partial<Config> = {}
): Promise<PluginInterface> {
assert(this.hasPlugin('logger'), new NotFoundError('logger module must be included'))