Skip to content

Commit a98695d

Browse files
committed
fix merge conflict issues
1 parent 87b8312 commit a98695d

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/extension.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,10 +1659,6 @@ class CopilotTokenTracker implements vscode.Disposable {
16591659
this.warn(`Error processing session file ${sessionFile} for usage analysis: ${fileError}`);
16601660
processed++;
16611661
}
1662-
} catch (fileError) {
1663-
this.warn(`Error processing session file ${sessionFile} for usage analysis: ${fileError}`);
1664-
processed++;
1665-
}
16661662
}
16671663

16681664
// Build the customization matrix using scanned workspace data and session counts
@@ -2486,12 +2482,11 @@ class CopilotTokenTracker implements vscode.Disposable {
24862482
// Calculate model switching statistics from session
24872483
await this.calculateModelSwitching(sessionFile, analysis);
24882484

2489-
}
2490-
// Track new metrics: edit scope, apply usage, session duration, conversation patterns, agent types
2491-
await this.trackEnhancedMetrics(sessionFile, analysis);
2485+
// Track new metrics: edit scope, apply usage, session duration, conversation patterns, agent types
2486+
await this.trackEnhancedMetrics(sessionFile, analysis);
24922487

2493-
return analysis;
2494-
}
2488+
return analysis;
2489+
}
24952490

24962491
/**
24972492
* Calculate model switching statistics for a session file.

0 commit comments

Comments
 (0)