Mac OSX Launcher: Swift 4.2 update in subprocess class.

This commit is contained in:
meeh
2019-05-02 22:53:00 +00:00
parent 67ca6e6552
commit 6a418ebcab

View File

@ -81,7 +81,7 @@ public struct TaskPipeline {
/// Run all tasks and return the tasks that did not fail to launch
private func launchAndReturnNotFailedTasks() -> [Process] {
return self.tasks.flatMap { task -> Process? in
return self.tasks.compactMap { task -> Process? in
do {
try task.launchCapturingExceptions()
return task