File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 StepResultBreak ,
1616} from '../../commands/quickCommand' ;
1717import { ensureAccessStep } from '../../commands/quickCommand.steps' ;
18+ import { getSteps } from '../../commands/quickWizard.utils' ;
1819import { proBadge } from '../../constants' ;
1920import { HostingIntegrationId } from '../../constants.integrations' ;
2021import type { Container } from '../../container' ;
@@ -108,7 +109,21 @@ export class StartWorkCommand extends QuickCommand<State> {
108109 if ( typeof state . action === 'string' ) {
109110 switch ( state . action ) {
110111 case 'start' :
111- startWork ( state . item . item ) ;
112+ //yield* this.startWorkCommandSteps(state.item.item);
113+ yield * getSteps (
114+ this . container ,
115+ {
116+ command : 'branch' ,
117+ state : {
118+ subcommand : 'create' ,
119+ repo : undefined ,
120+ name : `${ state . item . item . issue . id } -${ state . item . item . issue . title } ` ,
121+ suggestNameOnly : true ,
122+ //flags: ['--switch'],
123+ } ,
124+ } ,
125+ this . pickedVia ,
126+ ) ;
112127 break ;
113128 }
114129 }
You can’t perform that action at this time.
0 commit comments