We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b7fe7 commit 50b7346Copy full SHA for 50b7346
src/stack_pr/cli.py
@@ -567,9 +567,7 @@ def get_branch_name_base(branch_name_template: str):
567
username = get_gh_username()
568
current_branch_name = get_current_branch_name()
569
branch_name_base = branch_name_template.replace("$USERNAME", username)
570
- branch_name_base = branch_name_template.replace(
571
- "$BRANCH", current_branch_name
572
- )
+ branch_name_base = branch_name_base.replace("$BRANCH", current_branch_name)
573
return branch_name_base
574
575
0 commit comments