We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentdfd1b9b commitd7a5e42Copy full SHA for d7a5e42
src/channel/index.ts
@@ -8,7 +8,7 @@ import tutorialConfig from '../actions/tutorialConfig'
8
import{COMMANDS}from'../editor/commands'
9
importloggerfrom'../services/logger'
10
importContextfrom'./context'
11
-import{versionasgitVersion}from'../services/git'
+import{versionasgitVersion,checkRemoteConnects}from'../services/git'
12
import{openWorkspace,checkWorkspaceEmpty}from'../services/workspace'
13
14
interfaceChannel{
@@ -88,6 +88,12 @@ class Channel implements Channel {
88
89
awaittutorialConfig({config:data.config},onError)
90
91
+try{
92
+awaitcheckRemoteConnects(data.config.repo)
93
+}catch(error){
94
+this.send({type:'GIT_REMOTE_FAILED',payload:{message:error.message}})
95
+}
96
+
97
// report back to the webview that setup is complete
98
this.send({type:'TUTORIAL_CONFIGURED'})
99
return