File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,10 @@ class Channel implements Channel {
327327 await exec ( { command : tutorial . config . reset . command } )
328328 }
329329 return
330+ case 'EDITOR_RUN_RESET_TO_LAST_PASS' :
331+ return
332+ case 'EDITOR_RUN_RESET_TO_TIMELINE' :
333+ return
330334 default :
331335 logger ( `No match for action type: ${ actionType } ` )
332336 return
Original file line number Diff line number Diff line change 1+ import * as TT from '../../../typings/tutorial'
2+ import * as T from '../../../typings'
3+
4+ const getLastPassCommitHash = ( position : T . Position , levels : TT . Level [ ] ) => {
5+ // get previous position
6+ const { levelId, stepId } = position
7+
8+ // get solution hash if it exists
9+ // else get setup hash
10+ }
11+
12+ export default getLastPassCommitHash
You can’t perform that action at this time.
0 commit comments