Skip to content

Commit 9c484d8

Browse files
committed
fix(issue): syntax error setting linked branch name
1 parent 1aca50f commit 9c484d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gh-fzf

+1-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ $global_binds
205205
--bind='alt-o:execute(
206206
printf "Branch name for {1} (leave blank to use the default): ";
207207
read -r branch;
208-
[ -n "$branch" ] && branch_flag="--name $branch";
209-
gh issue develop {1} --checkout "$branch_flag" '"$repo_flag"'
208+
gh issue develop {1} --checkout ${branch:+--name $branch} '"$repo_flag"'
210209
)+abort' \
211210
--bind="alt-c:execute(gh issue comment {1} $repo_flag)+refresh-preview" \
212211
--bind='alt-l:execute(

0 commit comments

Comments
 (0)