Improved the CreatedRootFolderTask task in the library target to throw error in case the function receives an empty name.

This commit is contained in:
2025-01-12 02:16:30 +01:00
parent db1df0ec62
commit 6bf9c30ad1
3 changed files with 41 additions and 2 deletions
@@ -7,10 +7,12 @@ extension URL {
// MARK: Constants
static let someCurrentFolder = URL(at: "/some/current/folder")
static let someDotFolder = URL(at: ".")
static let someExistingFolder = URL(at: "/some/existing/folder")
static let someExistingFile = URL(at: "/some/existing/file")
static let someNewFolder = URL(at: "/some/new/folder")
static let someNewFile = URL(at: "/some/new/file")
static let someRandomURL = URL(string: "http://some.random.url")!
static let someTildeFolder = URL(at: "~")
}