From 1fd63b8cc3c3604cd7922904905f3764fecd45cf Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Wed, 22 Nov 2023 11:49:39 +0100 Subject: [PATCH] Fix Linux bug --- Sources/App/Config.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Sources/App/Config.swift b/Sources/App/Config.swift index 1c2e28c..cd8acd6 100644 --- a/Sources/App/Config.swift +++ b/Sources/App/Config.swift @@ -27,10 +27,7 @@ struct Config: Codable { guard !logPath.hasPrefix("/") else { return .init(fileURLWithPath: logPath) } - guard #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) else { - return resourcesDirectory.appendingPathComponent(logPath) - } - return resourcesDirectory.appending(path: logPath) + return resourcesDirectory.appendingPathComponent(logPath) } }