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/constants/CodeTransformChatItems.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -458,7 +458,7 @@ fun buildSQLMetadataValidationErrorChatContent(errorReason: String) = CodeTransf
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -370,7 +370,6 @@ class CodeTransformChatController(
370
370
withContext(EDT) {
371
371
val descriptor =FileChooserDescriptorFactory.createSingleFileDescriptor()
372
372
.withDescription("Select metadata file")
373
-
.withExtensionFilter("zip")
374
373
375
374
val selectedZipFile =FileChooser.chooseFile(descriptor, null, null) ?:return@withContext
376
375
val extractedZip = createTempDirectory("codeTransformSQLMetadata", null)
@@ -452,9 +451,8 @@ class CodeTransformChatController(
452
451
withContext(EDT) {
453
452
val descriptor =FileChooserDescriptorFactory.createSingleFileDescriptor()
454
453
.withDescription("Select .yaml file")
455
-
.withExtensionFilter("yaml")
456
454
val selectedFile =FileChooser.chooseFile(descriptor, null, null) ?:return@withContext
457
-
val isValid = validateYamlFile(selectedFile.readText())
Copy file name to clipboardExpand all lines: plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/utils/CodeTransformFileUtils.kt
0 commit comments