From e5188bf93b98fb65226def29db2e53b45991d142 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 21 Jul 2019 18:01:03 -0400 Subject: [PATCH] Still not fixed --- Sources/Path+FileManager.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Path+FileManager.swift b/Sources/Path+FileManager.swift index ad0d3e0..8ca9eff 100644 --- a/Sources/Path+FileManager.swift +++ b/Sources/Path+FileManager.swift @@ -28,7 +28,7 @@ public extension Pathish { if overwrite, let tokind = to.kind, tokind != .directory, kind != .directory { try FileManager.default.removeItem(at: to.url) } - #if os(Linux) && !swift(>=5.1) // check if fixed + #if os(Linux) && !swift(>=5.2) // check if fixed if !overwrite, to.kind != nil { throw CocoaError.error(.fileWriteFileExists) } @@ -68,7 +68,7 @@ public extension Pathish { if overwrite, let kind = rv.kind, kind != .directory { try FileManager.default.removeItem(at: rv.url) } - #if os(Linux) && !swift(>=5.1) // check if fixed + #if os(Linux) && !swift(>=5.2) // check if fixed if !overwrite, rv.kind != nil { throw CocoaError.error(.fileWriteFileExists) }