pankod/refine

View on GitHub
packages/devtools-server/src/setup-server.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function setupServer has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const setupServer = (app: Express, onError: () => void) => {
  const server = http.createServer(app);

  server
    .on("error", (error: any) => {
Severity: Major
Found in packages/devtools-server/src/setup-server.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status