Skip to content

Commit

Permalink
Make ShellOutError members public
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSundell committed Apr 2, 2017
1 parent f508353 commit efd07ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/ShellOut.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import Foundation
// Error type thrown by the `shellOut()` function, in case the given command failed
public struct ShellOutError: Swift.Error {
/// The error message that was returned through `STDERR`
let message: String
public let message: String
/// Any output that was put in `STDOUT` despite the error being thrown
let output: String
public let output: String
}

// MARK: - Private
Expand Down
2 changes: 1 addition & 1 deletion Tests/ShellOutTests/ShellOutTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import ShellOut
import ShellOut

class ShellOutTests: XCTestCase {
func testWithoutArguments() throws {
Expand Down

0 comments on commit efd07ce

Please sign in to comment.