From 1422277a205dabec693e199ad440c498cfb1bff2 Mon Sep 17 00:00:00 2001 From: "Sven A. Schmidt" Date: Fri, 5 Jul 2024 09:58:36 +0200 Subject: [PATCH] Cleanup --- Sources/DocUploadBundle/DocUploadBundle.swift | 1 - Sources/DocUploadBundle/Zipper.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/Sources/DocUploadBundle/DocUploadBundle.swift b/Sources/DocUploadBundle/DocUploadBundle.swift index 062b4f5..b962dbe 100644 --- a/Sources/DocUploadBundle/DocUploadBundle.swift +++ b/Sources/DocUploadBundle/DocUploadBundle.swift @@ -117,7 +117,6 @@ public struct DocUploadBundle { case .zipTool(.none): // By default, run the zip tool in the working directory try Zipper.zip(paths: [metadataURL, URL(fileURLWithPath: sourcePath)], to: archiveURL, method: .zipTool(workingDirectory: workDir)) - } return archiveURL.path diff --git a/Sources/DocUploadBundle/Zipper.swift b/Sources/DocUploadBundle/Zipper.swift index 9a86c7d..fac49a4 100644 --- a/Sources/DocUploadBundle/Zipper.swift +++ b/Sources/DocUploadBundle/Zipper.swift @@ -38,7 +38,6 @@ public enum Zipper { } catch { throw Error.generic(reason: "\(error)") } - } }