Skip to content

Commit 85c7039

Browse files
committed
update exp name
1 parent 9b2a058 commit 85c7039

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/core/src/shared/featureConfig.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ export class FeatureContext {
2424
public name: string,
2525
public variation: string,
2626
public value: FeatureValue
27-
) { }
27+
) {}
2828
}
2929

3030
const featureConfigPollIntervalInMs = 30 * 60 * 1000 // 30 mins
3131

3232
export const Features = {
3333
customizationArnOverride: 'customizationArnOverride',
3434
dataCollectionFeature: 'IDEProjectContextDataCollection',
35-
projectContextFeature: 'NewProjectContext',
35+
projectContextFeature: 'ProjectContextV2',
3636
test: 'testFeature',
3737
} as const
3838

@@ -157,8 +157,9 @@ export class FeatureConfigProvider {
157157
globals.globalState.tryUpdate('aws.amazonq.workspaceIndexToggleOn', true)
158158
}
159159
}
160-
const projectContextFeatureValue = this.featureConfigs.get(Features.projectContextFeature)?.value.stringValue
161-
if (projectContextFeatureValue) {
160+
const projectContextFeatureValue = this.featureConfigs.get(Features.projectContextFeature)?.value
161+
.stringValue
162+
if (projectContextFeatureValue === 'TREATMENT') {
162163
this._isNewProjectContextGroup = true
163164
}
164165
} catch (e) {

0 commit comments

Comments
 (0)