feat: without remove all
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-05-25 14:27:26 +02:00
parent 1aa8562509
commit 52007c82e0
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -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?;