Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZolotukhinM committed Oct 17, 2024
1 parent a3b909e commit 940741b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stack_pr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,9 @@ def get_branch_name_base(branch_name_template: str):
username = get_gh_username()
current_branch_name = get_current_branch_name()
branch_name_base = branch_name_template.replace("$USERNAME", username)
branch_name_base = branch_name_template.replace("$BRANCH",current_branch_name)
branch_name_base = branch_name_template.replace(
"$BRANCH", current_branch_name
)
return branch_name_base


Expand Down

0 comments on commit 940741b

Please sign in to comment.