Skip to content

Commit 1dd6202

Browse files
Merge branch 'main' into bugfix-5167
2 parents 62598d7 + e6d503d commit 1dd6202

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix for /review LLM based code issues for file review on windows"
4+
}

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/sessionconfig/CodeScanSessionConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class CodeScanSessionConfig(
169169
append("+++ b/")
170170
append(project.name)
171171
append('/')
172-
append(fileNio.relativeTo(projectRootNio).pathString)
172+
append(fileNio.relativeTo(projectRootNio).toString().replace(File.separator, "/"))
173173
}
174174
} catch (e: Exception) {
175175
LOG.debug(e) { "Failed to create git diff" }

0 commit comments

Comments
 (0)