...
This commit is contained in:
Helge Heß
2020-10-05 14:16:29 +02:00
parent 08688fdd7e
commit 01dc0b42b7

View File

@@ -194,8 +194,8 @@ final class FileDetectionState: ObservableObject {
// scan the Frameworks directory
do {
let suburl = contents.appendingPathComponent("Frameworks")
let files =
let suburl = contents.appendingPathComponent("Frameworks")
let files =
try fm.contentsOfDirectory(at: suburl, includingPropertiesForKeys: nil,
options: .skipsSubdirectoryDescendants)
.map { $0.lastPathComponent }