8000 Fix error try_to_run using | without shell=True (fix #284) by paugier · Pull Request #298 · codecov/codecov-python · GitHub
[go: up one dir, main page]

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

Fix error try_to_run using | without shell=True (fix #284) #298

Merged
merged 1 commit into from
Sep 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix error try_to_run using | without shell=True
  • Loading branch information
paugier committed Sep 18, 2020
commit eeeec24b36ccf112ed66bbff04e534326a448fe1
2 changes: 1 addition & 1 deletion codecov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def main(*argv, **kwargs):
try:
query["commit"] = try_to_run(
["git", "rev-parse", "HEAD"]
) or try_to_run(["hg", "id", "-i", "--debug", "|", "tr", "-d", "'+'"])
) or try_to_run(["hg", "log", "-r", ".", "-T", "{node}"])
write(" -> Got sha from git/hg")

except: # pragma: no cover
Expand Down
0