diff --git a/src/actions/tutorialConfig.ts b/src/actions/tutorialConfig.ts index 9bf93f31..5d01b1b5 100644 --- a/src/actions/tutorialConfig.ts +++ b/src/actions/tutorialConfig.ts @@ -23,18 +23,18 @@ const tutorialConfig = async ( handleError({ title: error.message, description: - 'Be sure you install Git. See the docs for help https://git-scm.com/book/en/v2/Getting-Started-Installing-Git', + 'Make sure you install Git. See the docs for help https://git-scm.com/book/en/v2/Getting-Started-Installing-Git', }) }) // TODO if remote not already set await git.setupRemote(config.repo.uri).catch((error) => { onError(error) - handleError({ title: error.message, description: 'Remove your current Git project and restarting' }) + handleError({ title: error.message, description: 'Remove your current Git project and reload the editor' }) }) } - vscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER, config.testRunner) + await vscode.commands.executeCommand(COMMANDS.CONFIG_TEST_RUNNER, config.testRunner) // verify if file test should run based on document saved const shouldRunTest = (document: vscode.TextDocument): boolean => { diff --git a/src/channel/index.ts b/src/channel/index.ts index 157b887c..090d07a0 100644 --- a/src/channel/index.ts +++ b/src/channel/index.ts @@ -83,7 +83,7 @@ class Channel implements Channel { case 'EDITOR_TUTORIAL_CONFIG': const data: TT.Tutorial = action.payload.tutorial // setup tutorial config (save watcher, test runner, etc) - this.context.setTutorial(this.workspaceState, data) + await this.context.setTutorial(this.workspaceState, data) await tutorialConfig({ config: data.config }, onError)