From 267b42dd9ef61b428d922393a1185782a8a6d761 Mon Sep 17 00:00:00 2001 From: fukusuket <41001169+fukusuket@users.noreply.github.com> Date: Sun, 9 Mar 2025 20:25:30 +0900 Subject: [PATCH] add rule parser actions --- wela-extractor/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wela-extractor/src/main.rs b/wela-extractor/src/main.rs index 8fc0e5ad..5f2c6ad4 100644 --- a/wela-extractor/src/main.rs +++ b/wela-extractor/src/main.rs @@ -113,13 +113,13 @@ fn main() -> Result<(), Box> { std::process::exit(1); } - let file_path = &args[1]; - let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?; - - let dir = &args[2]; + let dir = &args[1]; let yml_files = list_yml_files(dir); let mut results = Vec::new(); + let file_path = &args[2]; + let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?; + let out = &args[3]; for file in yml_files {