ThinkDeepTech/thinkdeep

View on GitHub
packages/data-collector/src/client.js

Summary

Maintainability
A
1 hr
Test Coverage

Function emitEvent has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async emitEvent(eventName, data) {
    this._logger.debug(
      `Creating event ${eventName} in kafka if it does not already exist.`
    );
    try {
Severity: Minor
Found in packages/data-collector/src/client.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status