cityssm/faster-web-helper

View on GitHub
modules/purchaseOrderApprovals/database/createUser.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function createUser has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function createUser(
  user: Partial<PurchaseOrderApprovalUser> & { userName: string }
): boolean {
  const database = sqlite(databasePath)

Severity: Major
Found in modules/purchaseOrderApprovals/database/createUser.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status