Skip to content

Commit 717cc07

Browse files
committed
Run SwiftFormat
1 parent 26c670d commit 717cc07

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/Shared/Toolkit/Format/Sniffers/AudiobookFormatSniffer.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public struct ZABFormatSniffer: FormatSniffer {
7474
let entries = container.entries
7575
.filter {
7676
$0.lastPathSegment?.hasPrefix(".") == false &&
77-
$0.lastPathSegment != "Thumbs.db" &&
78-
$0.pathExtension != "jpg" &&
79-
$0.pathExtension != .pdf
77+
$0.lastPathSegment != "Thumbs.db" &&
78+
$0.pathExtension != "jpg" &&
79+
$0.pathExtension != .pdf
8080
}
8181
let containerExtensions = Set(entries.compactMap(\.pathExtension))
8282
guard

Sources/Streamer/Parser/Audio/AudioParser.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public final class AudioParser: PublicationParser {
121121
"xspf",
122122
"zpl",
123123
"jpg",
124-
"pdf"
124+
"pdf",
125125
]
126126

127127
return url.pathExtension == nil

0 commit comments

Comments
 (0)