Skip to content

Commit 8bd0e6e

Browse files
authored
wait for user to configure git before continue (#125)
wait for user to conigure git before continue
1 parent 20bd813 commit 8bd0e6e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/services/EditorHelper.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ export class EditorHelper {
6060
if (sourceDoc){
6161
fileChanged = (txtLine.text.trim() !== sourceDoc.lineAt(lineNumber-1).text.trim());
6262
}
63+
else{
64+
return;
65+
}
6366
}
6467
catch (exeption){
6568
await vscode.window.showWarningMessage(

src/views/codeAnalytics/errorsViewTab.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,6 @@ class HtmlBuilder
374374
codeObject: CodeObjectInfo,
375375
viewModels?: ErrorFlowStackViewModel[],
376376
): string{
377-
const characteristic = error.characteristic
378-
? /*html*/`
379-
<section class="error-characteristic">${error.characteristic}</section>
380-
`
381-
: '';
382377
return /*html*/`
383378
<div class="error-view">
384379
<div class="flex-row">

0 commit comments

Comments
 (0)