From 6a418ebcab3bbdf4182a3fdf259c3a33eaf50028 Mon Sep 17 00:00:00 2001 From: meeh Date: Thu, 2 May 2019 22:53:00 +0000 Subject: [PATCH] Mac OSX Launcher: Swift 4.2 update in subprocess class. --- launchers/macosx/I2PLauncher/subprocesses/TaskPipeline.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchers/macosx/I2PLauncher/subprocesses/TaskPipeline.swift b/launchers/macosx/I2PLauncher/subprocesses/TaskPipeline.swift index a960dd3f4..202169206 100644 --- a/launchers/macosx/I2PLauncher/subprocesses/TaskPipeline.swift +++ b/launchers/macosx/I2PLauncher/subprocesses/TaskPipeline.swift @@ -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