Skip to content

Commit

Permalink
Fix review
Browse files Browse the repository at this point in the history
  • Loading branch information
felginep committed Oct 7, 2019
1 parent 6386d58 commit 6e1abdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/XCResultKit/ActivityLogCommandInvocationSection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct ActivityLogCommandInvocationSection: XCResultObject {
public let warningMessage: [ActivityLogAnalyzerWarningMessage]

public let commandDetails: String
public let emittedOutput: String
public let emittedOutput: String?
public let exitCode: Int?

public init?(_ json: [String : AnyObject]) {
Expand All @@ -56,7 +56,7 @@ public struct ActivityLogCommandInvocationSection: XCResultObject {
.ofType(ActivityLogAnalyzerWarningMessage.self)

commandDetails = try xcRequired(element: "commandDetails", from: json)
emittedOutput = try xcRequired(element: "emittedOutput", from: json)
emittedOutput = xcOptional(element: "emittedOutput", from: json)
exitCode = xcOptional(element: "exitCode", from: json)
} catch {
debug("Error parsing ActivityLogCommandInvocationSection: \(error.localizedDescription)")
Expand Down

0 comments on commit 6e1abdc

Please sign in to comment.