1
0
Fork 0

catalog_linter: Fix missing is_fatal on yield

This commit is contained in:
Félix Piédallu 2023-09-24 22:12:11 +02:00
parent d26266e1f3
commit 4d3b63f2f8

View file

@ -40,7 +40,7 @@ def validate_schema() -> Generator[str, None, None]:
def check_app(app: str, infos: Dict[str, Any]) -> Generator[Tuple[str, bool], None, None]: def check_app(app: str, infos: Dict[str, Any]) -> Generator[Tuple[str, bool], None, None]:
if "state" not in infos: if "state" not in infos:
yield "state is missing" yield "state is missing", True
return return
if infos["state"] != "working": if infos["state"] != "working":