From 52007c82e0a905ce83920f5026f1f1bb94fd9b66 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 25 May 2024 14:27:26 +0200 Subject: [PATCH] feat: without remove all Signed-off-by: kjuulh --- crates/cuddle-clusters/src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cuddle-clusters/src/process.rs b/crates/cuddle-clusters/src/process.rs index c40a751..b32d927 100644 --- a/crates/cuddle-clusters/src/process.rs +++ b/crates/cuddle-clusters/src/process.rs @@ -61,7 +61,7 @@ pub async fn process_opts( let template_files = load_template_files(&path).await?; tracing::debug!("found files: {:?}", template_files); - tokio::fs::remove_dir_all(&opts.output).await?; + let _ = tokio::fs::remove_dir_all(&opts.output).await; tokio::fs::create_dir_all(&opts.output).await?; process_templates(&components, &clusters, &template_files, &opts.output).await?;