From 30169ddc5ba419ad6cd77b3e8cde9a879ea686d8 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 11 Jan 2024 20:23:44 -0800 Subject: [PATCH] respect config --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 02c7d96..64183f0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -721,13 +721,15 @@ async fn write_commit(config:WriteCommitConfig,b:Result(), Err(e)=>println!("remove_dir_all src failed {}",e), } + } + if config.write_template{ let mut template=config.output_folder.clone(); template.push("template.rbxlx"); match std::fs::remove_file(template){