ci: 错误的路径

This commit is contained in:
Rock Chin
2023-04-06 18:39:21 +08:00
parent 13ef35f96f
commit 9758756fdd
2 changed files with 2 additions and 2 deletions

View File

@@ -13,5 +13,5 @@ for key in cmdsmgr.__command_list__:
template[key] = cmdsmgr.__command_list__[key]['privilege']
# 写入cmdpriv-template.json
with open('../templates/cmdpriv-template.json', 'w') as f:
with open('cmdpriv-template.json', 'w') as f:
f.write(json.dumps(template, indent=4, ensure_ascii=False))

View File

@@ -19,5 +19,5 @@ for k, v in template.__dict__.items():
print(k, v, type(v))
output_json[k] = v
with open("../../override-all.json", "w", encoding="utf-8") as f:
with open("override-all.json", "w", encoding="utf-8") as f:
json.dump(output_json, f, indent=4, ensure_ascii=False)