Skip to content

Bug: Action errors when using default configuration #12

@0qy

Description

@0qy

When integrating the github action as per documentation, using Node 14.x, we get an error as below:

TypeError: report.map is not a function
    at Object.getResultsTable (/home/runner/work/_actions/s0/libyear-node-action/v0.1.0/dist/main/index.js:3932:19)
    at /home/runner/work/_actions/s0/libyear-node-action/v0.1.0/dist/main/index.js:4060:41
    at step (/home/runner/work/_actions/s0/libyear-node-action/v0.1.0/dist/main/index.js:4028:23)
    at Object.next (/home/runner/work/_actions/s0/libyear-node-action/v0.1.0/dist/main/index.js:4009:53)
    at fulfilled (/home/runner/work/_actions/s0/libyear-node-action/v0.1.0/dist/main/index.js:4000:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

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