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

Commit25b4652

Browse files
authored
Merge pull request#190 from ShMcK/fix/await-git-init
wait for git init
2 parentsfa95c69 +c3f2e5a commit25b4652

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/actions/tutorialConfig.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ const tutorialConfig = async (
2323
handleError({
2424
title:error.message,
2525
description:
26-
'Be sure you install Git. See the docs for help https://git-scm.com/book/en/v2/Getting-Started-Installing-Git',
26+
'Make sure you install Git. See the docs for help https://git-scm.com/book/en/v2/Getting-Started-Installing-Git',
2727
})
2828
})
2929

3030
// TODO if remote not already set
3131
awaitgit.setupRemote(config.repo.uri).catch((error)=>{
3232
onError(error)
33-
handleError({title:error.message,description:'Remove your current Git project andrestarting'})
33+
handleError({title:error.message,description:'Remove your current Git project andreload the editor'})
3434
})
3535
}
3636

37-
vscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER,config.testRunner)
37+
awaitvscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER,config.testRunner)
3838

3939
// verify if file test should run based on document saved
4040
constshouldRunTest=(document:vscode.TextDocument):boolean=>{

‎src/channel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Channel implements Channel {
8383
case'EDITOR_TUTORIAL_CONFIG':
8484
constdata:TT.Tutorial=action.payload.tutorial
8585
// setup tutorial config (save watcher, test runner, etc)
86-
this.context.setTutorial(this.workspaceState,data)
86+
awaitthis.context.setTutorial(this.workspaceState,data)
8787

8888
awaittutorialConfig({config:data.config},onError)
8989

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp