Skip to content

Commit b1a65c6

Browse files
authored
fix(featureDev): fix file rejection for multi-workspaces (aws#5102)
* fix(featureDev): fix file rejection for brazil workspaces * add changeLog
1 parent e8096f6 commit b1a65c6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "fix(featureDev): fix file rejection for multi-workspaces"
4+
}

packages/core/src/amazonq/webview/ui/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ export const createMynahUI = (ideApi: any, amazonQEnabled: boolean) => {
239239
type: ChatItemType.ANSWER,
240240
fileList: {
241241
rootFolderTitle: 'Changes',
242-
filePaths: filePaths.map(i => i.relativePath),
243-
deletedFiles: deletedFiles.map(i => i.relativePath),
242+
filePaths: filePaths.map(i => i.zipFilePath),
243+
deletedFiles: deletedFiles.map(i => i.zipFilePath),
244244
details: getDetails(filePaths),
245245
actions: getActions([...filePaths, ...deletedFiles]),
246246
},

0 commit comments

Comments
 (0)