From 01dc0b42b704bbd9f585b524f7b94dd95164f86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Mon, 5 Oct 2020 14:16:29 +0200 Subject: [PATCH] Beauty ... --- Sources/5GUIs/Model/FileDetectionState.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/5GUIs/Model/FileDetectionState.swift b/Sources/5GUIs/Model/FileDetectionState.swift index e02c56a..e61f000 100644 --- a/Sources/5GUIs/Model/FileDetectionState.swift +++ b/Sources/5GUIs/Model/FileDetectionState.swift @@ -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 }