We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4de7c9 commit 246ef6dCopy full SHA for 246ef6d
1 file changed
prevent-cli/src/prevent_cli/main.py
@@ -88,16 +88,14 @@ def cli(
88
89
upload = deepcopy(upload_coverage)
90
upload.name = "upload"
91
-upload.context_settings = {
92
- "token_normalize_func": lambda x: x.replace("test_results", "test-results")
93
-}
+
94
for i, param in enumerate(upload.params):
95
if param.name == "report_type_str":
96
upload.params[i] = click.Option(
97
("--report-type", "report_type_str"),
98
help="The type of report to upload",
99
default="coverage",
100
- type=click.Choice(["coverage", "test-results"]),
+ type=click.Choice(["coverage", "test-results", "test_results"]),
101
)
102
break
103
0 commit comments