File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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
3030const featureConfigPollIntervalInMs = 30 * 60 * 1000 // 30 mins
3131
3232export 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 ) {
You can’t perform that action at this time.
0 commit comments