From 1ad8791752fe304a315e9f8854473dca68eaed29 Mon Sep 17 00:00:00 2001 From: Juan Jose Lovera Brito Date: Mon, 23 May 2016 14:13:02 -0400 Subject: [PATCH] Fixes duplicate folders creation when zipping with subfolders When zipping subfolders they were added twice in the zip (in the root folder and in their correct position). With this fix now folders with subfolders are created correctly. --- Zip/ZipUtilities.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Zip/ZipUtilities.swift b/Zip/ZipUtilities.swift index dd9b0d9..f6034dd 100644 --- a/Zip/ZipUtilities.swift +++ b/Zip/ZipUtilities.swift @@ -84,7 +84,6 @@ internal class ZipUtilities { } else { let directoryContents = expandDirectoryFilePath(path) - processedFilePaths.appendContentsOf(directoryContents) } } } -- 2.26.2