Skip to content

P1B: Refactor (packages/opencode/src/util/media.ts:15): Function with many returns (count = 7): sniffAttachmentMime #166

Description

@alexjack58

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/util/media.ts

Function(s)/scope targeted

sniffAttachmentMime

Relevant Qlty output

$ qlty smells --no-snippets packages/opencode/src/util/media.ts

packages/opencode/src/util/media.ts
  15  Function with many returns (count = 7): sniffAttachmentMime

Activity

  1. alexjack58 commented on Sep 8, 2026

    @alexjack58
    Author

    I would like to work on this please!

  2. github-actions commented on Sep 8, 2026

    @github-actions

    Great! I assigned you (@alexjack58) to the issue. Have fun working on it!

  3. added a commit that references this issue on Sep 8, 2026
    95789bf
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