Skip to content

Commit

Permalink
fix cd issue (#58)
Browse files Browse the repository at this point in the history
* fix cd issue

* logspam
  • Loading branch information
rbren authored Sep 19, 2024
1 parent aafbffa commit a50753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_resolver/resolve_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ async def resolve_issues(
# get the commit id of current repo for reproducibility
base_commit = (
subprocess.check_output(
["cd", f"{output_dir}/repo", "&&", "git", "rev-parse", "HEAD"]
["git", "rev-parse", "HEAD"], cwd=os.path.join(output_dir, "repo")
)
.decode("utf-8")
.strip()
Expand Down

0 comments on commit a50753b

Please sign in to comment.