File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ export interface Manifest {
6464 targets : Target [ ]
6565 } [ ]
6666}
67- const manifestUrl = 'https://ducvaeoffl85c.cloudfront.net/manifest-0.1.18 .json'
67+ const manifestUrl = 'https://ducvaeoffl85c.cloudfront.net/manifest-0.1.19 .json'
6868// this LSP client in Q extension is only going to work with these LSP server versions
69- const supportedLspServerVersions = [ '0.1.18 ' ]
69+ const supportedLspServerVersions = [ '0.1.19 ' ]
7070
7171const nodeBinName = process . platform === 'win32' ? 'node.exe' : 'node'
7272
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ export class FeatureConfigProvider {
5353
5454 private _isDataCollectionGroup = false
5555
56- private _isNewProjectContextGroup = false
57-
5856 constructor ( ) {
5957 this . fetchFeatureConfigs ( ) . catch ( ( e ) => {
6058 getLogger ( ) . error ( 'fetchFeatureConfigs failed: %s' , ( e as Error ) . message )
@@ -72,8 +70,9 @@ export class FeatureConfigProvider {
7270 }
7371
7472 isNewProjectContextGroup ( ) : boolean {
75- return this . _isNewProjectContextGroup
73+ return this . featureConfigs . get ( Features . projectContextFeature ) ?. variation === 'TREATMENT'
7674 }
75+
7776 public async listFeatureEvaluations ( ) : Promise < ListFeatureEvaluationsResponse > {
7877 const request : ListFeatureEvaluationsRequest = {
7978 userContext : {
@@ -157,11 +156,6 @@ export class FeatureConfigProvider {
157156 globals . globalState . tryUpdate ( 'aws.amazonq.workspaceIndexToggleOn' , true )
158157 }
159158 }
160- const projectContextFeatureValue = this . featureConfigs . get ( Features . projectContextFeature ) ?. value
161- . stringValue
162- if ( projectContextFeatureValue === 'TREATMENT' ) {
163- this . _isNewProjectContextGroup = true
164- }
165159 } catch ( e ) {
166160 getLogger ( ) . error ( `CodeWhisperer: Error when fetching feature configs ${ e } ` , e )
167161 }
You can’t perform that action at this time.
0 commit comments