Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#3425·ramda

bug: code coverage failing

Author: ridge-kimaniCreated Nov 16, 2023Updated Nov 16, 2023

Title

  • code coverage failure

Description

  • Once the tests are run, one compilation step for uploading code coverage fails.

Current Behavior

  • It seems it has been failing since a commit in July.
  • Here's a snapshot of the error
...

Error: response from https://api.codeclimate.com/v1/test_reports.
HTTP 401: You are not authorized for this action

...

/home/runner/work/_actions/paambaati/codeclimate-action/v2.6.0/node_modules/@actions/core/lib/command.js:66
        .replace(/%/g, '%25')
         ^

TypeError: (s || "").replace is not a function
    at escapeData (/home/runner/work/_actions/paambaati/codeclimate-action/v2.6.0/node_modules/@actions/core/lib/command.js:66:10)
    
...

Expected Behavior

  • The code coverage report should run successfully.

Source: ramda/ramda

View original on GitHubView discussion on GitHub