(actions: TT.StepActions, tutorialId: string)
| 58 | |
| 59 | // run when a tutorial is continued |
| 60 | export const onContinue = async (actions: TT.StepActions, tutorialId: string): Promise<void> => { |
| 61 | await runCommands(actions?.commands) |
| 62 | await runVSCodeCommands(actions?.vscodeCommands) |
| 63 | webhooks.onContinue({ |
| 64 | tutorialId, |
| 65 | }) |
| 66 | } |
| 67 | |
| 68 | // run when an uncaught exception is thrown |
| 69 | export const onError = async (error: Error): Promise<void> => { |
nothing calls this directly
no test coverage detected