Skip to content

Commit 40dfb0c

Browse files
committed
Update spacing.
1 parent 015115b commit 40dfb0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Scripts/DowloadPortalItemData.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ func downloadFile(at sourceURL: URL, to downloadDirectory: URL, completion: @esc
161161

162162
if isArchive {
163163
let extractURL = downloadURL.pathExtension == "zip"
164-
// Uncompresses to directory named after archive.
165-
? downloadURL.deletingPathExtension()
166-
// Uncompresses to appropriate subdirectory.
167-
: downloadURL.deletingLastPathComponent()
164+
// Uncompresses to directory named after archive.
165+
? downloadURL.deletingPathExtension()
166+
// Uncompresses to appropriate subdirectory.
167+
: downloadURL.deletingLastPathComponent()
168168
try uncompressArchive(at: temporaryURL, to: extractURL)
169169
} else {
170170
try FileManager.default.moveItem(at: temporaryURL, to: downloadURL)

0 commit comments

Comments
 (0)