Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash when using --num-format #1233

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benjiewheeler
Copy link

This PR fixes the issue of crashing when using --num-format argument due to mismatched type between NumberFormatStyle and String

Error

thread 'main' panicked at src/cli.rs:259:14:
Mismatch between definition and access of `num_format_style`. Could not downcast to tokei::cli_utils::NumberFormatStyle, need to downcast to alloc::string::String

fix mismatched type between `NumberFormatStyle` and `String` when using `--num-format` argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant