uv/crates/uv
eth3lbert df7a733e51
Fix uv init . (#5330)
## Summary

This PR avoids an `Invalid package name` error that occurs when using
`uv init .`. This is achieved by slightly reorganizing the code block to
determine the name after the path is canonicalized. The dot path is
expanded to the current directory, and the `file_name` then works as
expected.

Resolve #5329 .

---------

Co-authored-by: konstin <konstin@mailbox.org>
2024-07-23 08:20:13 -04:00
..
src Fix uv init . (#5330) 2024-07-23 08:20:13 -04:00
tests Fix uv init . (#5330) 2024-07-23 08:20:13 -04:00
Cargo.toml Move workspace abstractions to uv-workspace crate (#5236) 2024-07-20 02:15:32 +00:00