mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Fix format warning
This commit is contained in:
1 parent
f83f29193b
commit
32db72a2fc
1 file changed
+2
-2
Vendored
+2
-2
@@ -116,7 +116,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification
|
||||
- (instancetype)initForBundle:(NSBundle *)__unused bundle
|
||||
{
|
||||
NSString *reason = [NSString stringWithFormat:@"-[%@ initForBundle:] is not implemented anymore in Sparkle 2.", NSStringFromClass([self class])];
|
||||
SULog(SULogLevelError, reason);
|
||||
SULog(SULogLevelError, @"%@", reason);
|
||||
|
||||
NSException *exception = [NSException exceptionWithName:@"SUIncorrectAPIUsageException" reason:reason userInfo:nil];
|
||||
@throw exception;
|
||||
@@ -128,7 +128,7 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification
|
||||
- (instancetype)init
|
||||
{
|
||||
NSString *reason = [NSString stringWithFormat:@"-[%@ init] is not implemented. If you want to drop an updater into a nib, see SPUStandardUpdaterController.", NSStringFromClass([self class])];
|
||||
SULog(SULogLevelError, reason);
|
||||
SULog(SULogLevelError, @"%@", reason);
|
||||
|
||||
NSException *exception = [NSException exceptionWithName:@"SUIncorrectAPIUsageException" reason:reason userInfo:nil];
|
||||
@throw exception;
|
||||
|
||||
Reference in new issue
Block a user