Skip to content

Commit

Permalink
Merge pull request #730 from seungineer/main
Browse files Browse the repository at this point in the history
[vscode] git 연결된 레포지토리가 확장 개발 호스트에서 실행되지 않는 버그 임시 수정
  • Loading branch information
seungineer authored Sep 27, 2024
2 parents 55343c0 + c0f7ef4 commit ee60dac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/vscode/src/webview-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ export default class WebviewLoader implements vscode.Disposable {
console.error("An error occurred while processing the webview message:", e);
}
});
if (!analyzedData) {
this.dispose();
throw new Error("Project not connected to Git.");
}
//FIXME - For repositories where git exists, analyzedData is initially assigned as undefined.
// if (!analyzedData) {
// this.dispose();
// throw new Error("Project not connected to Git.");
// }
this._panel.webview.html = this.getWebviewContent(this._panel.webview);
}

Expand Down

0 comments on commit ee60dac

Please sign in to comment.