mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-17 02:05:01 +00:00
Write trailing newline to .python-version
files (#7140)
## Summary Closes https://github.com/astral-sh/uv/issues/7135.
This commit is contained in:
parent
5e1b9b1964
commit
8a0e1fde33
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
use std::ops::Add;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
use fs_err as fs;
|
||||
|
@ -146,6 +147,7 @@ impl PythonVersionFile {
|
|||
.iter()
|
||||
.map(PythonRequest::to_canonical_string)
|
||||
.join("\n")
|
||||
.add("\n")
|
||||
.as_bytes(),
|
||||
)
|
||||
.await
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue