Skip to content

Commit ffc0cb4

Browse files
authored
fix(amazonq): pass uri.path as workspaceIdentifier when initializing aws#7291
## Problem `workspaceIdentifier` should be a string: - aws/language-server-runtimes#497 ## Solution Pass `extensionContext.storageUri?.path`.
1 parent 4b09167 commit ffc0cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export async function startLanguageServer(
134134
},
135135
},
136136
contextConfiguration: {
137-
workspaceIdentifier: extensionContext.storageUri,
137+
workspaceIdentifier: extensionContext.storageUri?.path,
138138
},
139139
logLevel: toAmazonQLSPLogLevel(globals.logOutputChannel.logLevel),
140140
},

0 commit comments

Comments
 (0)