Remove unnecessary truthiness checks for integration.manifest (#82319)

This commit is contained in:
Aarni Koskela
2022-11-28 16:33:14 +02:00
committed by GitHub
parent f887aeedfe
commit 69d519418e
13 changed files with 6 additions and 55 deletions

View File

@@ -299,9 +299,6 @@ def validate_version(integration: Integration) -> None:
def validate_manifest(integration: Integration, core_components_dir: Path) -> None:
"""Validate manifest."""
if not integration.manifest:
return
try:
if integration.core:
manifest_schema(integration.manifest)