Skip to content

Commit

Permalink
Revert "Fix bcr_presubmit.yml with python < 3.7"
Browse files Browse the repository at this point in the history
This reverts commit 0840157.
  • Loading branch information
meteorcloudy committed Jan 24, 2024
1 parent 0840157 commit 73c0447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildkite/bazel-central-registry/bcr_presubmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def file_exists_in_main_branch(file_path):
# Run the git ls-tree command to check for the file in the main branch
result = subprocess.run(
["git", "ls-tree", "-r", "main", "--name-only", file_path],
stdout=subprocess.PIPE, text=True, check=True
capture_output=True, text=True, check=True
)
return result.stdout.strip() != ""

Expand Down

0 comments on commit 73c0447

Please sign in to comment.