File: src/utils/capture.ts
Action
Delete the entire export const captureBase = async (...) => { ... } block. It has no live callers.
Verify first
grep -rn "captureBase" src/
# Expect: only the definition + one comment reference. No call sites.
After deleting
Confirm the live path is intact:
capture() → buildEventProperties() → sendToTelemetryProxy()
No other edits required. The duplicated property-building logic that lived in captureBase is already present in buildEventProperties, so nothing is lost.
File:
src/utils/capture.tsAction
Delete the entire
export const captureBase = async (...) => { ... }block. It has no live callers.Verify first
After deleting
Confirm the live path is intact:
capture()→buildEventProperties()→sendToTelemetryProxy()No other edits required. The duplicated property-building logic that lived in
captureBaseis already present inbuildEventProperties, so nothing is lost.