Skip to content

) ScrobblerConfig::from_env always sets enabled: true, so the `if !cfg.en... #33

@ducks

Description

@ducks

Found by lok hunt:

) ScrobblerConfig::from_env always sets enabled: true, so the if !cfg.enabled branch in Scrobbler::new is unreachable outside tests (redundant condition). src/scrobbler.rs:12 src/scrobbler.rs:32


Backend: codex

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions