Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
change infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jefbarn committed Jun 21, 2018
1 parent 10b3f3d commit 2541507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recur.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ export class Recur implements Iterable<moment.Moment> {
yield currentDate.clone()
}

while (true) {
for (;;) {

try {
currentDate = this.reversed ?
Expand Down

0 comments on commit 2541507

Please sign in to comment.