Implemented the "path" property for the Folder enumeration in the library target.
This commit is contained in:
1 parent
504b3be447
commit
720ad687fb
4 files changed
+62
-9
No files matched your search
@@ -15,7 +15,7 @@ public struct CreateFoldersTask {
|
||||
// MARK: Functions
|
||||
|
||||
public func callAsFunction(at rootFolder: URL) async throws {
|
||||
let folders = Folder.allCases.map { rootFolder.appendingPath($0.rawValue) }
|
||||
let folders = Folder.allCases.map { rootFolder.appendingPath($0.path) }
|
||||
|
||||
for folder in folders {
|
||||
try await fileService.createFolder(at: folder)
|
||||
|
||||
Reference in new issue
Block a user