@@ -185,8 +185,9 @@ class Channel implements Channel {
185
185
config : continueConfig ,
186
186
alreadyConfigured : true ,
187
187
} )
188
+ logger ( 'check stepId on EDITOR_TUTORIAL_CONTINUE_CONFIG' , action . payload . stepId )
188
189
// 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 )
190
191
return
191
192
case 'EDITOR_VALIDATE_SETUP' :
192
193
// check workspace is selected
@@ -233,14 +234,14 @@ class Channel implements Channel {
233
234
return
234
235
// load step actions (git commits, commands, open files)
235
236
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 )
238
239
return
239
240
// load solution step actions (git commits, commands, open files)
240
241
case 'SOLUTION_ACTIONS' :
241
- await solutionActions ( action . payload , this . send )
242
+ await solutionActions ( action . payload . actions , this . send )
242
243
// 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 )
244
245
return
245
246
246
247
default :
0 commit comments