We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9fc876 commit 4f4c280Copy full SHA for 4f4c280
1 file changed
Source/UZKArchive.m
@@ -375,11 +375,7 @@ - (BOOL)extractFilesTo:(NSString *)destinationDirectory
375
error:(NSError * __autoreleasing*)error
376
{
377
NSError *listError = nil;
378
- NSArray *fileInfo = [[self listFileInfo:&listError] sortedArrayUsingComparator:^NSComparisonResult(UZKFileInfo* _Nonnull obj1, UZKFileInfo* _Nonnull obj2) {
379
- return ([obj1.filename isGreaterThan:obj2.filename]
380
- ? NSOrderedAscending
381
- : NSOrderedDescending);
382
- }];
+ NSArray *fileInfo = [self listFileInfo:&listError];
383
384
if (!fileInfo || listError) {
385
NSLog(@"Error listing contents of archive: %@", listError);
0 commit comments