Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72771c4

Browse files
committed
setup last pass commit hash
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent7148796 commit72771c4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

‎src/channel/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ class Channel implements Channel {
327327
awaitexec({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

‎src/services/git/lastPass.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import*asTTfrom'../../../typings/tutorial'
2+
import*asTfrom'../../../typings'
3+
4+
constgetLastPassCommitHash=(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+
exportdefaultgetLastPassCommitHash

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp