Closed MikeDevresse closed 6 months ago
Thanks for the PR. We may want to allow this rather than keep the panic here (by setting the default name).
The issue is from Utf8Path from camino it says that the function file_name() will return None if we have / as name.
I guess you can set a default name (with unwrap_or
for example) but I guess you will have to decide what to set, I don't really now what it is used for, I wanted to give extra context for other users that may encounter this.
This is only used for the name of the profdata file, so something like unwrap_or("default")
would be fine.
Published in 0.5.38.
When trying to execute my tests in a docker container, I encountered the following error which was quite unclear. This PR aims to add more context to this error.