Skip to content

Commit

Permalink
use inherited run
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Sep 5, 2024
1 parent a1acc3e commit a6f240e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/ReleaseTools/Commands/ArchiveCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ struct ArchiveCommand: AsyncParsableCommand {
break
}

let outMode: Runner.Mode = parsed.showOutput ? .both : .capture
let errMode: Runner.Mode = parsed.showOutput ? .both : .capture
let result = try xcode.run(args, stdoutMode: outMode, stderrMode: errMode)
let result = try xcode.run(args)
try await result.throwIfFailed(ArchiveError.archiveFailed)
parsed.log("Archived scheme \(parsed.scheme).")
}
Expand Down

0 comments on commit a6f240e

Please sign in to comment.