We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e8159 commit d5a6d68Copy full SHA for d5a6d68
Sources/PackageRegistry/RegistryManager.swift
@@ -247,11 +247,11 @@ public final class RegistryManager {
247
)
248
}
249
250
+ try fileSystem.createDirectory(destinationPath, recursive: true)
251
+
252
let archivePath = destinationPath.withExtension("zip")
253
try fileSystem.writeFileContents(archivePath, bytes: contents)
254
- try fileSystem.createDirectory(destinationPath, recursive: true)
-
255
let archiver = Self.archiverFactory(fileSystem)
256
// TODO: Bail if archive contains relative paths or overlapping files
257
archiver.extract(from: archivePath, to: destinationPath) { result in
0 commit comments