Skip to content

Commit a4003e9

Browse files
committed
Suggests the repo of the issue as picked instead of skipping the step
(#3621)
1 parent efa3eb3 commit a4003e9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/commands/git/branch.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ interface CreateState {
6363
flags: CreateFlags[];
6464

6565
suggestNameOnly?: boolean;
66+
suggestRepoOnly?: boolean;
6667
}
6768

6869
type DeleteFlags = '--force' | '--remotes';
@@ -196,7 +197,7 @@ export class BranchGitCommand extends QuickCommand {
196197
}
197198
}
198199

199-
if (args?.state?.repo != null) {
200+
if (!(args?.state as CreateState)?.suggestRepoOnly && args?.state?.repo != null) {
200201
counter++;
201202
}
202203

src/plus/startWork/startWork.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ export class StartWorkCommand extends QuickCommand<State> {
168168
repo: repo,
169169
name: slug(`${issue.id}-${issue.title}`),
170170
suggestNameOnly: true,
171+
suggestRepoOnly: true,
171172
},
172173
},
173174
this.pickedVia,

0 commit comments

Comments
 (0)