You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/model/CodeModernizerSessionContext.kt
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,13 @@ data class CodeModernizerSessionContext(
260
260
if (depDirectory !=null) {
261
261
dependencyFiles.forEach { depFile ->
262
262
val relativePath =File(depFile.path).relativeTo(depDirectory)
263
+
if (depFile.path.contains("compilations.json")) {
264
+
if (File.separatorChar !='/') {
265
+
var content = depFile.readText()
266
+
content = content.replace("\\\\", "/")
267
+
depFile.writeText(content)
268
+
}
269
+
}
263
270
var relativePathString = relativePath.toPath().toString()
264
271
if (copyResult ==null) {
265
272
// null copyResult means doing a SQL conversion; put metadata under dependencies folder
0 commit comments