Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f557ed4

Browse files
committed
fix continue init load
Signed-off-by: shmck <[email protected]>
1 parent 3827240 commit f557ed4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/channel/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ class Channel implements Channel {
7474
// continue from tutorial from local storage
7575
const tutorial: TT.Tutorial | null = this.context.tutorial.get()
7676

77-
// new tutorial
78-
if (!tutorial || !tutorial.id) {
77+
if (!tutorial || !tutorial.config) {
78+
// new tutorial
7979
this.send({ type: 'START_NEW_TUTORIAL', payload: { env } })
8080
return
8181
}
@@ -187,6 +187,7 @@ class Channel implements Channel {
187187
})
188188
// update the current stepId on startup
189189
vscode.commands.executeCommand(COMMANDS.SET_CURRENT_STEP, action.payload)
190+
logger('Continue tutorial setup')
190191
return
191192
case 'EDITOR_VALIDATE_SETUP':
192193
// check workspace is selected

0 commit comments

Comments
 (0)