codecov / codecov/codecov-cli

[BUG] Empty-string report path passed to CLI causes a traceback

Open
#501 0 comments 0 reactions 1 assignee View on GitHub

@thomasrockhu-codecov is already working on this.

Since Dec 2, 2024.

codecov/codecov-cli
Dominant language
Python
Stars
89
Forks
64
PR merge metrics
No merged PRs in 30d

Description

This is another side of what I reported in https://github.com/codecov/test-results-action/issues/89. It seems like the action passes a -f '' to the CLI invocation which causes that crash.
Obviously, the action should improve the files: input normalization, however, I believe that its CLI counterpart could benefit from better error handling as well and print out a nicer explanation message instead of a stack trace.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.