We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30bfd4b commit 3e0631aCopy full SHA for 3e0631a
crates/uv/src/commands/mod.rs
@@ -232,9 +232,7 @@ impl<'a> OutputWriter<'a> {
232
async fn commit(self) -> std::io::Result<()> {
233
if let Some(output_file) = self.output_file {
234
if let Some(parent_dir) = output_file.parent() {
235
- if !parent_dir.as_os_str().is_empty() && !parent_dir.is_dir() {
236
- fs_err::tokio::create_dir(parent_dir).await?;
237
- }
+ fs_err::create_dir_all(parent_dir)?;
238
}
239
240
// If the output file is an existing symlink, write to the destination instead.
0 commit comments