Skip to content

Error: TypeError: Cannot read properties of undefined (reading 'totalStatements')Β #429

@antoniovazquezblanco

Description

@antoniovazquezblanco

Describe a bug

On windows:

Error: TypeError: Cannot read properties of undefined (reading 'totalStatements')
TypeError: Cannot read properties of undefined (reading 'totalStatements')
    at Gc.e.reduce.totalStatements (D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2107:1368)
    at Array.reduce (<anonymous>)
    at Gc (D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2107:1332)
    at H5 (D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2107:4283)
    at D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2145:15809
    at wr (D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2136:164)
    at LN (D:\a\_actions\ArtiomTr\jest-coverage-report-action\v2.3.0\dist\index.js:2145:15763)

See https://github.com/antoniovazquezblanco/setup-ghidra/actions/runs/9651820759/job/26620564916 for a complete log.

Expected behavior

To complete without that error :)

Details

  • Action version: v2.3.0

  • OS, where your action is running (windows, linux): Windows

  • action.yml file https://github.com/antoniovazquezblanco/setup-ghidra/blob/master/.github/workflows/main.yml
    ```yml
    uses: ArtiomTr/[email protected]
    continue-on-error: true
    with:
      test-script: npm test
    ```
    
  • Screenshots
    <!-- If you encounter an incorrect coverage comment display, replace this comment with screenshot -->
    

imagen

    <!-- If your action unexpectedly fails, please replace this comment with a screenshot of your console  -->

</details>

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions