Describe the bug
Flags Must consist only of alphanumeric characters, '_', '-', or '.' and not exceed 45 characters
If my CI suite accidentally contains a slash or some other character, the flag is silently dropped.
To Reproduce
Steps to reproduce the behavior:
- Use uploader v0.2.4
- send a flag as
-F ci/js-unit-tests
- The upload succeeds but the flag is blank
Expected behavior
I would expect it to bail out with "Invalid flag: flags Must consist only of alphanumeric characters, '_', '-', or '.' and not exceed 45 characters"
Additional context
If you think this is too much of a BC break, I could accept this being hidden behind a flag like CODECOV_STRICT_FLAGS=1 or something.
Describe the bug
If my CI suite accidentally contains a slash or some other character, the flag is silently dropped.
To Reproduce
Steps to reproduce the behavior:
-F ci/js-unit-testsExpected behavior
I would expect it to bail out with "Invalid flag: flags Must consist only of alphanumeric characters, '_', '-', or '.' and not exceed 45 characters"
Additional context
If you think this is too much of a BC break, I could accept this being hidden behind a flag like
CODECOV_STRICT_FLAGS=1or something.