Skip to content

Commit c843010

Browse files
committed
Fix testInvalidArchive failure
1 parent 5c97f57 commit c843010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Basics/Archiver/UniversalArchiver.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public struct UniversalArchiver: Archiver {
5555
}
5656

5757
private func archiver(for archivePath: AbsolutePath) throws -> any Archiver {
58-
guard var extensions = archivePath.allExtensions, extensions.count > 1 else {
58+
guard var extensions = archivePath.allExtensions, extensions.count > 0 else {
5959
throw Error.noFileNameExtension(archivePath)
6060
}
6161

0 commit comments

Comments
 (0)