Skip to content

Commit 6035a3f

Browse files
committed
Revert whitespace changes.
#361 (comment)
1 parent 7f3ac0c commit 6035a3f

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
@@ -162,10 +162,10 @@ func downloadFile(at sourceURL: URL, to downloadDirectory: URL, completion: @esc
162162

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

0 commit comments

Comments
 (0)