зеркало из https://github.com/nextcloud/desktop.git
Use more informative NSAssert rather than assert for _registeredDirectories
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
49a9f7f263
Коммит
4954debfbe
|
@ -207,7 +207,7 @@
|
|||
|
||||
- (void)registerPath:(NSString*)path
|
||||
{
|
||||
assert(_registeredDirectories);
|
||||
NSAssert(_registeredDirectories, @"Registered directories should be a valid set!");
|
||||
[_registeredDirectories addObject:[NSURL fileURLWithPath:path]];
|
||||
[FIFinderSyncController defaultController].directoryURLs = _registeredDirectories;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче