Skip to content

Ensure options as passed to plugins is not modified #2582

@eahefnawy

Description

@eahefnawy

Within our core plugins, we frequently change the this.option object to pass data around. Instead we should do that in another variable and keep this.option read only & immutable to avoid conflicts between plugins.


Further clarifications:

Passed options is CLI parameters, as resolved on sls.processedInput.options. They are passed as second argument to initialized plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions