Skip to content

📝 ProgressStyle::with_template().unwrap() in production #87

Description

@ajianaz

Description

ProgressStyle::with_template(...).unwrap() at src/engine/llm.rs:174 and src/engine/scanner.rs:74. The template is a hardcoded literal that will never fail, but sets a bad precedent.

Suggested Fix

Use .expect("valid spinner template") to make intent clear.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions