feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[Docs Update] Invalid curl command displayed at https://api.codecov.io/validate

Open alainakafkes opened this issue 1 week ago • 1 comments

Description

the current command displayed is

curl -X POST --data-binary @codecov.yml https://codecov.io/validate

but i believe it should be

curl -X POST --data-binary @.codecov.yml https://codecov.io/validate

because the file name is .codecov.yml not codecov.yml.

when i try the former, i see the following error:

curl: Failed to open codecov.yml
curl: option --data-binary: error encountered when reading a file
curl: try 'curl --help' or 'curl --manual' for more information

when i try the latter in a repository that has .codecov.yml its root, i see the expected validation output.

Page(s)

https://api.codecov.io/validate

Current State

[X] Broken Link [] Unclear Language [] Inconsistent Formatting [X] Missing Information [] Missing Updates for New Features [] Deprecated Features

Additional Information

Image

thanks in advance for fixing this!

alainakafkes avatar Nov 20 '25 23:11 alainakafkes