Skip to content

Commit

Permalink
Use isEqualToString: and clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo committed May 27, 2024
1 parent c3399a6 commit 0f381ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Autoupdate/SUDiskImageUnarchiver.m
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ - (void)extractDMGWithNotifier:(SUUnarchiverNotifier *)notifier SPU_OBJC_DIRECT
NSString *pathExtension = fromPathURL.pathExtension;

if (isDirectory) {
// Skip directory types that aren't bundles
if ([pathExtension isEqualTo:@"rtfd"]) {
// Skip directory types that aren't bundles or regular directories
if ([pathExtension isEqualToString:@"rtfd"]) {
continue;
}
} else {
Expand Down

0 comments on commit 0f381ea

Please sign in to comment.