Skip to content
This repository has been archived by the owner on Apr 20, 2023. 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
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