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/core/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/FeatureDevSessionContext.kt
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -202,19 +202,21 @@ class FeatureDevSessionContext(val project: Project, val maxProjectSizeBytes: Lo
202
202
}
203
203
204
204
val zipFilePath = createTemporaryZipFileAsync { zipfs ->
205
-
val isPosix =FileSystems.getDefault().supportedFileAttributeViews().contains("posix")
205
+
val posixFileAttributeSubstr ="posix"
206
+
val isPosix =FileSystems.getDefault().supportedFileAttributeViews().contains(posixFileAttributeSubstr)
206
207
filesToIncludeFlow.collect { file ->
207
208
208
209
if (!file.isDirectory) {
209
210
val externalFilePath =Path(file.path)
210
211
val relativePath =Path(file.path).relativeTo(projectRootPath)
0 commit comments