Skip to content

v8 reporter doesn't output when no states option is passed in #215

@jlafaytfg

Description

@jlafaytfg

In 7.1.0, the _transform handler would return early when options.states is set and file.s3.state was not found in options.states.

In the latest version, there isn't a check to see if states is passed in. So it ends up being an empty array that's used to create an allowedStates that is also now empty. There should be a check to see if allowedStates has values included with the allowedStates.has(file.s3.state) check before deciding to return early.

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