mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-05 20:01:44 -05:00
🐛 Fix translation script commit in place (#14818)
This commit is contained in:
committed by
GitHub
parent
fe5b617aec
commit
aea61373ae
@@ -411,7 +411,8 @@ def make_pr(
|
||||
print(f"Creating a new branch {branch_name}")
|
||||
subprocess.run(["git", "checkout", "-b", branch_name], check=True)
|
||||
else:
|
||||
print(f"Committing in place on branch {current_branch}")
|
||||
branch_name = current_branch
|
||||
print(f"Committing in place on branch {branch_name}")
|
||||
print("Adding updated files")
|
||||
git_path = Path("docs")
|
||||
subprocess.run(["git", "add", str(git_path)], check=True)
|
||||
|
||||
Reference in New Issue
Block a user