Skip to content

Commit 393b2f5

Browse files
committed
fix: remove print statements
1 parent 0c9e11a commit 393b2f5

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

codecov-cli/codecov_cli/helpers/ci_adapters/github_actions.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,19 @@ def detect(self) -> bool:
1212

1313
def _get_commit_sha(self):
1414
pr = self._get_pull_request_number()
15-
print("pr", pr)
1615
commit = os.getenv("GITHUB_SHA")
17-
print("commit", commit)
1816

1917
if not pr:
20-
print("no pr")
2118
return commit
2219

2320
# actions/checkout should be run with fetch-depth > 1 or set to 0 for this to work
2421
completed_subprocess = subprocess.run(
2522
["git", "rev-parse", "HEAD^@"], capture_output=True
2623
)
27-
print("completed_subprocess", completed_subprocess)
2824
parents_hash = completed_subprocess.stdout.decode().strip().splitlines()
29-
print("parents_hash", parents_hash)
3025
if len(parents_hash) == 2:
31-
print("parents_hash[1]", parents_hash[1])
3226
return parents_hash[1]
3327

34-
print("commit", commit)
3528
return commit
3629

3730
def _get_build_url(self):

0 commit comments

Comments
 (0)