Implemented the RunProcessTask task in the library target.
This commit is contained in:
1 parent
245529f88f
commit
7081f7b755
2 files changed
+76
-4
No files matched your search
@@ -14,10 +14,7 @@ public struct CreateRootFolderTask {
|
||||
|
||||
// MARK: Functions
|
||||
|
||||
public func callAsFunction(
|
||||
name: String,
|
||||
at location: URL? = nil
|
||||
) async throws -> URL {
|
||||
public func callAsFunction(name: String, at location: URL? = nil) async throws -> URL {
|
||||
guard !name.isEmpty else {
|
||||
throw CreateRootFolderError.nameIsEmpty
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user