Skip to content

Commit

Permalink
add fir
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Feb 21, 2024
1 parent 499b4c1 commit 6405bbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ import { disposeAll } from './common/utils/resourceLifecycle';
import { ProposedExtensionAPI } from './proposedApiTypes';
import { buildProposedApi } from './proposedApi';
import { GLOBAL_PERSISTENT_KEYS } from './common/persistentState';
import { sendTelemetryEvent } from './telemetry';
import { EventName } from './telemetry/constants';

durations.codeLoadingTime = stopWatch.elapsedTime;

Expand Down Expand Up @@ -118,7 +120,9 @@ async function activateUnsafe(

// First we initialize.
const isFirstSession = context.globalState.get(GLOBAL_PERSISTENT_KEYS, []).length === 0;
console.log(isFirstSession);
if (isFirstSession) {
sendTelemetryEvent(EventName.FIRST_SESSION);
}
const ext = initializeGlobals(context);
activatedServiceContainer = ext.legacyIOC.serviceContainer;
// Note standard utils especially experiment and platform code are fundamental to the extension
Expand Down

0 comments on commit 6405bbc

Please sign in to comment.