create output dir if it's not there
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 2m34s
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 2m34s
This commit is contained in:
parent
1d1fadd869
commit
63cd573e4b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user