From e10b79671ead675a78b158614e645ac9d390b309 Mon Sep 17 00:00:00 2001 From: nanato12 Date: Tue, 28 Nov 2023 13:51:29 +0900 Subject: [PATCH] update: generator --- generator/src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/generator/src/main.rs b/generator/src/main.rs index 2777a8d9..3f7be957 100644 --- a/generator/src/main.rs +++ b/generator/src/main.rs @@ -179,4 +179,15 @@ fn main() { "./tools/sources/message.rs", "src/messaging_api/models/message.rs", ); + + let _ = Command::new("cargo") + .arg("fix") + .arg("--allow-dirty") + .current_dir("openapi") + .status(); + + let _ = Command::new("cargo") + .arg("fmt") + .current_dir("openapi") + .status(); }