We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pyyaml
SafeLoader
1 parent dcedda3 commit 69b44d5Copy full SHA for 69b44d5
jtd_codebuild/loaders.py
@@ -38,7 +38,7 @@ def load_definitions(cwd: str) -> Dict[AnyStr, Any]:
38
filepath = join(root, file)
39
with open(filepath, "r") as f:
40
definition_parts = (
41
- yaml.load(f, Loader=yaml.FullLoader)
+ yaml.load(f, Loader=yaml.SafeLoader)
42
if file_is_yaml(file)
43
else json.load(f)
44
)
@@ -66,7 +66,7 @@ def load_root_schema(cwd: str) -> Dict[AnyStr, Any]:
66
67
with open(schema_path, "r") as f:
68
return (
69
70
if file_is_yaml(schema_path)
71
72
0 commit comments