Skip to content

Commit 1338b89

Browse files
authored
Merge pull request #50 from nsec/fixschemas
Remove `ctf/schemas` directory and use the CTF’s schemas when running…
2 parents 2eea7d3 + 4a9b2e4 commit 1338b89

File tree

3 files changed

+1
-317
lines changed

3 files changed

+1
-317
lines changed

ctf/schemas/post.json

Lines changed: 0 additions & 143 deletions
This file was deleted.

ctf/schemas/track.yaml.json

Lines changed: 0 additions & 173 deletions
This file was deleted.

ctf/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def get_ctf_script_templates_directory() -> str:
299299

300300

301301
def get_ctf_script_schemas_directory() -> str:
302-
return os.path.join(get_ctf_script_root_directory(), "schemas")
302+
return os.path.join(find_ctf_root_directory(), "schemas")
303303

304304

305305
def remove_ctf_script_root_directory_from_path(path: str) -> str:

0 commit comments

Comments
 (0)