From 1cbc1b29adf8a1f246a4d0a38f305ab8a24428e0 Mon Sep 17 00:00:00 2001 From: David Jennes Date: Thu, 30 Aug 2018 12:47:27 +0200 Subject: [PATCH] Fix a lint warning --- Sources/StencilSwiftKit/Filters+Strings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StencilSwiftKit/Filters+Strings.swift b/Sources/StencilSwiftKit/Filters+Strings.swift index 463f165a..197a5be4 100644 --- a/Sources/StencilSwiftKit/Filters+Strings.swift +++ b/Sources/StencilSwiftKit/Filters+Strings.swift @@ -305,7 +305,7 @@ extension Filters.Strings { /// - Throws: FilterError.invalidInputType if the value parameter isn't a string static func dirname(_ value: Any?) throws -> Any? { let string = try Filters.parseString(from: value) - + #if os(Linux) // `NSString.standardizingPath` crashes on Linux. Bug reference: // https://github.com/apple/swift-corelibs-foundation/pull/1536