feat: without remove all
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
1aa8562509
commit
52007c82e0
@ -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?;
|
||||
|
Loading…
Reference in New Issue
Block a user