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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecov/__init__.py
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