Skip to content

Commit

Permalink
Use more informative NSAssert rather than assert for _registeredDirec…
Browse files Browse the repository at this point in the history
…tories

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jul 21, 2023
1 parent 6a21c64 commit 120218a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ - (void)reFetchFileNameCacheForPath:(NSString*)path

- (void)registerPath:(NSString*)path
{
assert(_registeredDirectories);
NSAssert(_registeredDirectories, @"Registered directories should be a valid set!");
[_registeredDirectories addObject:[NSURL fileURLWithPath:path]];
[FIFinderSyncController defaultController].directoryURLs = _registeredDirectories;
}
Expand Down

0 comments on commit 120218a

Please sign in to comment.