[fix] later.schedule().isValid returns true even when the passed schedule is not. #24
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
When
later.parse.text
has errors, passing its result tolater.schedule
gives valid scheduleActual behavior
If I give an invalid text string to later.parse.text, say,
at 20h
, the result has errors but when passed to later.schedule, it generates something that is correct, but never runs. It breaks Bree, which runs (insrc/job-utils.js
):Expected behavior
I expect
isValid
to return false when the schedule is not valid.Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: