Skip to content

Commit 5cf467d

Browse files
committed
Remove public access modifier from process runner
1 parent f672c28 commit 5cf467d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common/ProcessRunner.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class SigIntListener {
3636
}
3737

3838
/// Provides convenience APIs for launching and gathering output from a subprocess
39-
public class ProcessRunner {
39+
class ProcessRunner {
4040
private let process: Process
4141

42-
public init(
42+
init(
4343
executableURL: URL,
4444
arguments: [String],
4545
additionalEnvironment: [String: String?] = [:]
@@ -54,7 +54,7 @@ public class ProcessRunner {
5454
}
5555

5656
@discardableResult
57-
public func run(
57+
func run(
5858
captureStdout: Bool = true,
5959
captureStderr: Bool = true,
6060
verbose: Bool
@@ -131,9 +131,9 @@ public class ProcessRunner {
131131

132132
/// The exit code and output (if redirected) from a subprocess that has
133133
/// terminated
134-
public struct ProcessResult {
135-
public let stdout: String
136-
public let stderr: String
134+
struct ProcessResult {
135+
let stdout: String
136+
let stderr: String
137137
}
138138

139139
/// Error thrown if a process terminates with a non-zero exit code.

0 commit comments

Comments
 (0)