Skip to content

Commit

Permalink
fix: check if folder exists
Browse files Browse the repository at this point in the history
Signed-off-by: Jason C. Leach <[email protected]>
  • Loading branch information
jleach committed Oct 7, 2024
1 parent 615c153 commit 4165e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ios/AriesBifold/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ - (void)excludeDotAFJFolderFromBackup {
BOOL fileExists = [[NSFileManager defaultManager] fileExistsAtPath:[folderURL path]
isDirectory:&isDir];
if (!fileExists || !isDir) {
NSLog(@"Directory %@ does not exist. Skipping backup exclusion.", folderName);
NSLog(@"Directory %@ does not exist. Skipping backup exclusion.", folderName);
return;
}

Expand Down

0 comments on commit 4165e56

Please sign in to comment.