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

Commitf88b66d

Browse files
committed
fix has remote crash on tutorial load from url
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parentd4a3284 commitf88b66d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/services/git/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ export async function setupCodeRoadRemote(repo: string): Promise<never | void> {
134134
// git remote add coderoad tutorial
135135
// git fetch coderoad
136136
if(hasRemote){
137-
thrownewError('A CodeRoad remote is already configured')
137+
// TODO: verify the remote is the same
138+
return
138139
}
139140
awaitaddRemote(repo)
140141
}

‎src/services/webview/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const createReactWebView = ({ extensionPath, workspaceState }: ReactWebViewProps
3838
// This happens when the user closes the panel or when the panel is closed programmatically
3939
panel.onDidDispose(
4040
()=>{
41-
console.log('dispose panel')
4241
panel.dispose()
4342
state.loaded=false
4443
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp