@@ -185,8 +185,9 @@ class Channel implements Channel {
185185 config : continueConfig ,
186186 alreadyConfigured : true ,
187187 } )
188+ logger ( 'check stepId on EDITOR_TUTORIAL_CONTINUE_CONFIG' , action . payload . stepId )
188189 // update the current stepId on startup
189- vscode . commands . executeCommand ( COMMANDS . SET_CURRENT_STEP , action . payload )
190+ vscode . commands . executeCommand ( COMMANDS . SET_CURRENT_STEP , action . payload . stepId )
190191 return
191192 case 'EDITOR_VALIDATE_SETUP' :
192193 // check workspace is selected
@@ -233,14 +234,14 @@ class Channel implements Channel {
233234 return
234235 // load step actions (git commits, commands, open files)
235236 case 'SETUP_ACTIONS' :
236- await vscode . commands . executeCommand ( COMMANDS . SET_CURRENT_STEP , action . payload )
237- setupActions ( action . payload , this . send )
237+ await vscode . commands . executeCommand ( COMMANDS . SET_CURRENT_STEP , action . payload . stepId )
238+ setupActions ( action . payload . actions , this . send )
238239 return
239240 // load solution step actions (git commits, commands, open files)
240241 case 'SOLUTION_ACTIONS' :
241- await solutionActions ( action . payload , this . send )
242+ await solutionActions ( action . payload . actions , this . send )
242243 // run test following solution to update position
243- vscode . commands . executeCommand ( COMMANDS . RUN_TEST , action . payload )
244+ vscode . commands . executeCommand ( COMMANDS . RUN_TEST , action . payload . stepId )
244245 return
245246
246247 default :
0 commit comments