Skip to content

Commit 788666b

Browse files
Fix double version schema bug
Signed-off-by: ClemensLinnhoff <[email protected]>
1 parent dd3f775 commit 788666b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules2yml.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def gen_yml_rules(dir_name="rules", full_osi=False):
4747
for file in glob("open-simulation-interface/*.proto*"):
4848
filename = file.split("open-simulation-interface/")[1].split(".proto")[0]
4949

50-
if os.path.exists(f"{dir_name}/{filename}.yml"):
50+
if os.path.exists(f"{dir_name}/schema/{filename}_schema.yml"):
5151
continue
5252

5353
with open(f"{dir_name}/schema/{filename}_schema.yml", "a") as schema_file:

0 commit comments

Comments
 (0)