Commit 0ed2a3a
authored
fix(amazonq): incorrect zip entry path for file scans #6741
## Problem
Reproduce steps:
1. Open a window with multiple workspace folders, for example
`workspaceFolders: [folder1, folder2]`
2. Open any file and run a code review on the active file, for example
`folder1/sample.py`
3. The zip entry will be created with the workspaceFolder duplicated,
for example `folder1/folder1/sample.py`
## Solution
Explicitly set `includeWorkspaceFolder` to false when getting the
relative path of the file.1 parent 600ee8f commit 0ed2a3a
File tree
2 files changed
+6
-1
lines changed- packages
- amazonq/.changes/next-release
- core/src/codewhisperer/util
2 files changed
+6
-1
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments