[BUG] Empty-string report path passed to CLI causes a traceback
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.