This code works correctly when multiple crontabs are configured in one schedule
This code will also fallback correctly if schedule.rate is still a string and not an array.
When serverless added the ability to configure multiple rates in a schedule, they also removed the ability to set names when configuring multiple schedules. https://github.com/serverless/serverless/issues/9867 This was causing my local testing to fail.
This means we shouldn't add a numbered name to schedules
Fixes https://github.com/serverless/serverless-local-schedule/issues/20
This code works correctly when multiple crontabs are configured in one schedule
This code will also fallback correctly if schedule.rate is still a string and not an array.
When serverless added the ability to configure multiple rates in a schedule, they also removed the ability to set names when configuring multiple schedules. https://github.com/serverless/serverless/issues/9867 This was causing my local testing to fail.