Skip to content

Commit efd07ce

Browse files
committed
Make ShellOutError members public
1 parent f508353 commit efd07ce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/ShellOut.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import Foundation
2323
// Error type thrown by the `shellOut()` function, in case the given command failed
2424
public struct ShellOutError: Swift.Error {
2525
/// The error message that was returned through `STDERR`
26-
let message: String
26+
public let message: String
2727
/// Any output that was put in `STDOUT` despite the error being thrown
28-
let output: String
28+
public let output: String
2929
}
3030

3131
// MARK: - Private

Tests/ShellOutTests/ShellOutTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import XCTest
2-
@testable import ShellOut
2+
import ShellOut
33

44
class ShellOutTests: XCTestCase {
55
func testWithoutArguments() throws {

0 commit comments

Comments
 (0)