Update RecentlyVisitedRangesService.ts

This commit is contained in:
Test 2025-01-09 09:57:30 -08:00
parent 1cabf9b745
commit 2a20b5adc9

View file

@ -36,9 +36,10 @@ export class RecentlyVisitedRangesService {
}
private async setNumSurroundingLinesFromPostHogExperiment() {
this.numSurroundingLines = await Telemetry.getValueForFeatureFlag(
PosthogFeatureFlag.AutocompleteTimeout,
);
this.numSurroundingLines =
(await Telemetry.getValueForFeatureFlag(
PosthogFeatureFlag.AutocompleteTimeout,
)) ?? this.numSurroundingLines;
}
private handleOnDidChangeTextEditorSelection = async (