Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
Fix error try_to_run using | without shell=True (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Sep 21, 2020
1 parent dd8fe1a commit 713d941
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 713d941

Please sign in to comment.