ajmath / serverless-offline-scheduler

MIT License
96 stars 40 forks source link

deprecation warning: Include serverless CLI option definitions #70

Closed orimdominic closed 3 years ago

orimdominic commented 3 years ago

I get this warning when I run serverless schedule

Serverless: Deprecation warning: CLI options definitions were upgraded with "type" property 
(which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine 
type for introduced options:
             - ServerlessOfflineScheduler for "runSchedulesOnInit"
            Please report this issue in plugin issue tracker.
            Starting with next major release, this will be communicated with a thrown error.
            More Info: https://www.serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA

It is important that this be checked as Starting with next major release, this will be communicated with a thrown error.

I may raise a PR for this