mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Added assert to make sure bundle isn't nil
This commit is contained in:
1 parent
0b7e343a56
commit
ddb67d1c84
1 file changed
+1
Vendored
+1
@@ -41,6 +41,7 @@ typedef struct {
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
NSParameterAssert(aBundle);
|
||||
self.bundle = aBundle;
|
||||
if (![self.bundle bundleIdentifier]) {
|
||||
SULog(@"Error: the bundle being updated at %@ has no %@! This will cause preference read/write to not work properly.", self.bundle, kCFBundleIdentifierKey);
|
||||
|
||||
Reference in new issue
Block a user