From 14f0ae3198956b58357af89f3b5214d9d0fdc889 Mon Sep 17 00:00:00 2001 From: Franco Meloni Date: Sat, 23 Oct 2021 19:12:11 +0100 Subject: [PATCH] Remove not needed force unwrap --- Sources/Runner/Commands/Runner.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Runner/Commands/Runner.swift b/Sources/Runner/Commands/Runner.swift index 631fc6fd..4e30d9c5 100644 --- a/Sources/Runner/Commands/Runner.swift +++ b/Sources/Runner/Commands/Runner.swift @@ -98,9 +98,9 @@ func runDanger(logger: Logger) throws { .filter(fileManager.fileExists) .first - if marathonLibPath != nil { - libArgs += ["-L", marathonLibPath!] - libArgs += ["-I", marathonLibPath!] + if let marathonLibPath = marathonLibPath { + libArgs += ["-L", marathonLibPath] + libArgs += ["-I", marathonLibPath] libArgs += ["-lDangerDependencies"] } }