Skip to content

Commit 12b1188

Browse files
committed
Ensure classes have public initializers
1 parent 075d9e2 commit 12b1188

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Sources/SwiftShellUtilities/SystemActionPrint.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public class SystemActionPrint: SystemAction {
1515
public var createFileStyle: PrintStyle = [ Style.bold ]
1616
public var runAndPrintStyle: PrintStyle = [ Style.bold ]
1717

18+
public init() {
19+
}
20+
1821
public func heading(_ type: SystemActionHeading, _ string: String) {
1922
switch type {
2023
case .section:

Sources/SwiftShellUtilities/SystemActionReal.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import SwiftShell
55
public class SystemActionReal: SystemAction {
66
public var swiftShellContext: Context = main
77

8+
public init() {
9+
}
10+
811
public func heading(_ type: SystemActionHeading, _ string: String) {
912
// do nothing
1013
}

0 commit comments

Comments
 (0)