File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ interface CreateState {
6363 flags : CreateFlags [ ] ;
6464
6565 suggestNameOnly ?: boolean ;
66+ suggestRepoOnly ?: boolean ;
6667}
6768
6869type 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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments