ajmath / serverless-offline-scheduler

MIT License
96 stars 40 forks source link

Skip scheduled events that are disabled. #16

Closed AlexCline closed 5 years ago

AlexCline commented 5 years ago

Love this serverless plugin! While setting up TDD for my project, I noticed that scheduled events weren't disabled when running offline. After reviewing the code, this looks like the correct place to skip disabled events. Let me know if there's a better way to do it!

grudus commented 5 years ago

@AlexCline @ajmath any progress on this? Circle CI only shows some trivial problems with eslint

  50:9   error  Expected space(s) after "if"                    keyword-spacing
  50:31  error  Missing space before opening brace              space-before-blocks
  53:13  error  Expected indentation of 10 spaces but found 12  indent