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

The program will panic when FileSpec.o_suffix is none. #116

Closed
gamife opened this issue Sep 1, 2022 · 0 comments
Closed

The program will panic when FileSpec.o_suffix is none. #116

gamife opened this issue Sep 1, 2022 · 0 comments
Labels

Comments

@gamife
Copy link

gamife commented Sep 1, 2022

version: 0.23
When the log file is empty, the file_stem does not contain .restart-. So the unwrap() is not ok.

let index = file_stem.find(".restart-").unwrap(/*ok*/);

@emabee emabee closed this as completed in 8e52ef2 Sep 2, 2022
@emabee emabee added the bug label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants