Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 44153a8

Browse files
committed
Spacing fix
1 parent 838efc8 commit 44153a8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ios/CodePush/CodePush.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ - (void)applicationWillResignActive
564564
} else if (updateState == CodePushUpdateStateRunning && currentUpdateIsPending) {
565565
// The caller wants the running update, but the current
566566
// one is pending, so we need to grab the previous.
567-
resolve([CodePushPackage getPreviousPackage:nil]);
567+
resolve([CodePushPackage getPreviousPackage:&error]);
568568
} else {
569569
// The current package satisfies the request:
570570
// 1) Caller wanted a pending, and there is a pending update

ios/CodePush/CodePushPackage.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ + (NSString *)getCodePushPath
291291
+ (NSDictionary *)getCurrentPackage:(NSError **)error
292292
{
293293
NSString *packageHash = [CodePushPackage getCurrentPackageHash:error];
294-
295294
if (*error || !packageHash) {
296295
return nil;
297296
}
@@ -410,7 +409,6 @@ + (NSString *)getPackageFolderPath:(NSString *)packageHash
410409
+ (NSDictionary *)getPreviousPackage:(NSError **)error
411410
{
412411
NSString *packageHash = [self getPreviousPackageHash:error];
413-
414412
if (*error || !packageHash) {
415413
return nil;
416414
}

0 commit comments

Comments
 (0)