Skip to content

Commit

Permalink
Fix for LLM based code issues for file review on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishrp-aws committed Dec 6, 2024
1 parent e4b6f0f commit edc9ae1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class CodeScanSessionConfig(
append("+++ b/")
append(project.name)
append('/')
append(fileNio.relativeTo(projectRootNio).pathString)
append(fileNio.relativeTo(projectRootNio).toString().replace(File.separator, "/"))
}
} catch (e: Exception) {
LOG.debug(e) { "Failed to create git diff" }
Expand Down

0 comments on commit edc9ae1

Please sign in to comment.