Skip to content

Commit a1c43f0

Browse files
committed
style: Apply SwiftFormat before push
1 parent 5b75c19 commit a1c43f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/Objects2XLSX/Book/Book.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public final class Book {
611611
}
612612

613613
logger.info("Created XLSX directory structure at: \(tempDir.path)")
614-
614+
615615
// 调试:列出临时目录内容
616616
if let contents = try? FileManager.default.contentsOfDirectory(atPath: tempDir.path) {
617617
print("📁 TempDir contents: \(contents)")
@@ -737,7 +737,7 @@ public final class Book {
737737
print("📦 Book.createZipArchive called:")
738738
print(" TempDir: \(tempDir.path)")
739739
print(" OutputURL: \(outputURL.path)")
740-
740+
741741
do {
742742
let stats = try zipArchiver.createArchiveWithStats(from: tempDir, to: outputURL)
743743

Sources/Objects2XLSX/Utils/SimpleZip.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,11 @@ public struct SimpleZip: Sendable {
281281
print("🚀 ZIP createFromDirectoryWithStats called:")
282282
print(" From: \(directoryURL.path)")
283283
print(" To: \(outputURL.path)")
284-
284+
285285
let entries = try collectEntries(from: directoryURL)
286286
let (zipData, stats) = try createWithStats(entries: entries)
287287
try zipData.write(to: outputURL)
288-
288+
289289
print("✅ ZIP creation completed successfully")
290290
return stats
291291
}

0 commit comments

Comments
 (0)