Skip to content

Minor issue with empty activies in v1.0.0 #34

@justinmchase

Description

@justinmchase

I dont' have any activities and as a result my servlerless file looks sort of like:

stepFunctions:
  stateMachines:
    hello: ...

As a result I am getting this error:

Serverless: Packaging service...

  Serverless Error ---------------------------------------

     activities property is not an array Please check the
     README for more info.

Simply changing my file to this fixes it:

stepFunctions:
  activities: []
  stateMachines:
    hello: ...

But it seems like activities should default to an empty array automatically instead of null in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions