create output dir if it's not there
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 2m34s

This commit is contained in:
philipp 2024-02-18 16:40:32 +01:00
parent 1d1fadd869
commit 63cd573e4b

View File

@ -93,6 +93,8 @@ fn get_content(config_path: &str) -> (String, String) {
fn main() {
let configs = fs::read_dir("./laws").expect("No folder with config files");
fs::create_dir_all("./output").unwrap();
let mut li_of_files = String::new();
for config in configs {
let config = config.unwrap();