Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
antoniovazquezblanco opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@antoniovazquezblanco
Copy link

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

@antoniovazquezblanco antoniovazquezblanco added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants