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.
2 parents dcedda3 + 69b44d5 commit b8e9e12Copy full SHA for b8e9e12
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