Skip to content

TypeError with serverless 2.x #34

@jormaechea

Description

@jormaechea

The following line is breaking in v2.x because this._serverless.variables.options is undefined.

if (this._serverless.variables.options.stage) {

Are you accepting PRs for this plugin? If so, I can add it quickly. It's stopping us from migrating to serverless 2.x.
Thanks!

Update: tracked it down to v2.26.0. It works properly until v2.25.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions