mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
Drop the unreachable nameless-dependency check in the walk
normalize_dependencies guarantees every entry carries a non-empty string name, so only the version can be absent.
This commit is contained in:
@@ -1076,7 +1076,7 @@ def convert_libraries(
|
||||
for dependency in normalize_dependencies(
|
||||
component.data.get("dependencies"), component.name
|
||||
):
|
||||
if "name" not in dependency or "version" not in dependency:
|
||||
if "version" not in dependency:
|
||||
continue
|
||||
if not dependency_is_usable(
|
||||
dependency, backend.platform, backend.framework, component.name
|
||||
|
||||
Reference in New Issue
Block a user