mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 15:34:53 +01:00
[config] Early termination of validation steps on error (#6837)
This commit is contained in:
parent
4bf7c97088
commit
7c843437a7
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class Config(OrderedDict, fv.FinalValidateConfig):
|
|||
)
|
||||
|
||||
def run_validation_steps(self):
|
||||
while self._validation_tasks:
|
||||
while self._validation_tasks and not self.errors:
|
||||
task = heapq.heappop(self._validation_tasks)
|
||||
task.step.run(self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue