From 3078cbff5aa3c42080529ea9fc072d8d829421b8 Mon Sep 17 00:00:00 2001 From: Francesco Paolo Severino Date: Thu, 7 Nov 2024 12:00:16 +0100 Subject: [PATCH] Make the linter happy --- Sources/Zip/URL+nativePath.swift | 2 +- Sources/Zip/Zip.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Zip/URL+nativePath.swift b/Sources/Zip/URL+nativePath.swift index 5cfc0211..f15e2a5d 100644 --- a/Sources/Zip/URL+nativePath.swift +++ b/Sources/Zip/URL+nativePath.swift @@ -8,4 +8,4 @@ extension URL { var nativePath: String { return withUnsafeFileSystemRepresentation { String(cString: $0!) } } -} \ No newline at end of file +} diff --git a/Sources/Zip/Zip.swift b/Sources/Zip/Zip.swift index 3670c5ab..b6cf91ba 100644 --- a/Sources/Zip/Zip.swift +++ b/Sources/Zip/Zip.swift @@ -161,7 +161,7 @@ public class Zip { withIntermediateDirectories: true, attributes: directoryAttributes ) - + if isDirectory { try FileManager.default.createDirectory( atPath: fullPath,