Skip to content

P1B: Refactor (packages/opencode/src/cli/error.ts:35): Function with high complexity (count = 37): FormatError #74

Description

@haq2026

Uniqueness check

  • I have searched open issues and confirmed this file + smell is not already taken.

Full path to the Typescript file

packages/opencode/src/cli/error.ts

Function(s)/scope targeted

FormatError()

Relevant Qlty output

packages/opencode/src/cli/error.ts
  35  Function with many returns (count = 13): FormatError
  35  Function with high complexity (count = 37): FormatError

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions