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.

Activity

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

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