Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 7a174a6

Browse files
committed
change pr argument name
1 parent 673c280 commit 7a174a6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

codecov_cli/commands/commit.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def create_commit(
6969
ctx,
7070
commit_sha: str,
7171
parent_sha: typing.Optional[str],
72-
pr: typing.Optional[int],
72+
pull_request_number: typing.Optional[int],
7373
branch: typing.Optional[str],
7474
slug: typing.Optional[str],
7575
token: typing.Optional[uuid.UUID],
@@ -81,12 +81,14 @@ def create_commit(
8181
extra_log_attributes=dict(
8282
commit_sha=commit_sha,
8383
parent_sha=parent_sha,
84-
pr=pr,
84+
pr=pull_request_number,
8585
branch=branch,
8686
slug=slug,
8787
token=token,
8888
service=git_service,
8989
)
9090
),
9191
)
92-
create_commit_logic(commit_sha, parent_sha, pr, branch, slug, token, git_service)
92+
create_commit_logic(
93+
commit_sha, parent_sha, pull_request_number, branch, slug, token, git_service
94+
)

0 commit comments

Comments
 (0)