Skip to content

Commit d4de7c9

Browse files
committed
fix: narrow down token normalize func
1 parent a5497ca commit d4de7c9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

prevent-cli/src/prevent_cli/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ def cli(
8888

8989
upload = deepcopy(upload_coverage)
9090
upload.name = "upload"
91-
upload.context_settings = {"token_normalize_func": lambda x: x.replace("_", "-")}
91+
upload.context_settings = {
92+
"token_normalize_func": lambda x: x.replace("test_results", "test-results")
93+
}
9294
for i, param in enumerate(upload.params):
9395
if param.name == "report_type_str":
9496
upload.params[i] = click.Option(

0 commit comments

Comments
 (0)