mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-24 03:57:13 -04:00
SwiftFormat blankLinesAtStartOfScope
This commit is contained in:
parent
f4e7be977e
commit
6ac54e9a3d
67 changed files with 0 additions and 157 deletions
|
@ -9,7 +9,6 @@ import Foundation
|
|||
|
||||
/// Helper struct to create macOS Installer Packages.
|
||||
struct PackageCreator {
|
||||
|
||||
/// Create a macOS Installer Package based off the passed in `Installer` struct.
|
||||
///
|
||||
/// - Parameters:
|
||||
|
@ -20,7 +19,6 @@ struct PackageCreator {
|
|||
///
|
||||
/// - Throws: An `Error` if the command failed to execute.
|
||||
static func create(_ url: URL, from installer: Installer, identifier: String, identity: String? = nil) async throws {
|
||||
|
||||
var arguments: [String] = [
|
||||
"pkgbuild",
|
||||
"--identifier", identifier,
|
||||
|
@ -45,7 +43,6 @@ struct PackageCreator {
|
|||
///
|
||||
/// - Throws: An `MistError` if the command failed to execute.
|
||||
private static func create(_ url: URL, with arguments: [String]) async throws {
|
||||
|
||||
try await DirectoryRemover.remove(url)
|
||||
let response: HelperToolCommandResponse = try ShellExecutor.shared.execute(arguments)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue