Skip to content

Commit

Permalink
Fixing issue with loop not exiting early.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-winn committed Jun 27, 2023
1 parent c766749 commit c26e722
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export class AutomowerMowerScheduleConverterImpl implements AutomowerMowerSchedu
for (const task of calendar.tasks) {
if (task !== undefined && this.isAnyDayOfWeekTask(task) && !this.isAlwaysRunTask(task)) {
result = true;
break;
}
}

Expand Down

0 comments on commit c26e722

Please sign in to comment.