We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e721610 commit 372f9e8Copy full SHA for 372f9e8
crates/loader/src/local.rs
@@ -548,7 +548,16 @@ impl LocalLoader {
548
.with_context(|| format!("Invalid exclude_files glob pattern {pattern:?}"))
549
})
550
.collect::<Result<Vec<_>>>()?;
551
-
+
552
+ crate::fs::create_dir_all(&dest_root)
553
+ .await
554
+ .with_context(|| {
555
+ format!(
556
+ "Failed to create parent directory {}",
557
+ quoted_path(&dest_root)
558
+ )
559
+ })?;
560
561
for path_res in paths {
562
let src = path_res?;
563
if !src.is_file() {
0 commit comments