Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Aug 2, 2024
1 parent 2f11cd3 commit c897fe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/BuildTool/BuildTool.swift
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ struct BuildTool: ParsableCommand {
process.standardOutput = standardOutput

try process.run()
process.waitUntilExit()

var stdoutData = Data()
while true {
Expand All @@ -161,6 +160,8 @@ struct BuildTool: ParsableCommand {
}
}

process.waitUntilExit()

if process.terminationStatus != 0 {
throw Error.terminatedWithExitCode(process.terminationStatus)
}
Expand Down

0 comments on commit c897fe0

Please sign in to comment.