File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import tutorialConfig from '../actions/tutorialConfig'
88import { COMMANDS } from '../editor/commands'
99import logger from '../services/logger'
1010import Context from './context'
11- import { version as gitVersion } from '../services/git'
11+ import { version as gitVersion , checkRemoteConnects } from '../services/git'
1212import { openWorkspace , checkWorkspaceEmpty } from '../services/workspace'
1313
1414interface Channel {
@@ -88,6 +88,12 @@ class Channel implements Channel {
8888
8989 await tutorialConfig ( { config : data . config } , onError )
9090
91+ try {
92+ await checkRemoteConnects ( data . config . repo )
93+ } catch ( error ) {
94+ this . send ( { type : 'GIT_REMOTE_FAILED' , payload : { message : error . message } } )
95+ }
96+
9197 // report back to the webview that setup is complete
9298 this . send ( { type : 'TUTORIAL_CONFIGURED' } )
9399 return
You can’t perform that action at this time.
0 commit comments