We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87cf08 commit ce1a556Copy full SHA for ce1a556
packages/core/src/codewhispererChat/controllers/chat/controller.ts
@@ -1002,11 +1002,7 @@ export class ChatController {
1002
workspaceFolders.sort()
1003
const workspaceFolder = workspaceFolders[0]
1004
for (const contextCommand of contextCommands) {
1005
- const relativePath = path.relative(
1006
- workspaceFolder,
1007
- path.join(contextCommand.workspaceFolder, contextCommand.relativePath)
1008
- )
1009
- session.relativePathToWorkspaceRoot.set(relativePath, contextCommand.workspaceFolder)
+ session.relativePathToWorkspaceRoot.set(contextCommand.workspaceFolder, contextCommand.workspaceFolder)
1010
}
1011
let prompts: AdditionalContextPrompt[] = []
1012
try {
0 commit comments