Only clearing state in release

This commit is contained in:
Jonathan Carter
2015-12-28 10:13:03 -08:00
parent cad43b8d4f
commit a73e48a318

View File

@@ -76,7 +76,10 @@ static NSString *const PackageIsPendingKey = @"isPending";
NSLog(logMessageFormat, packageUrl);
return packageUrl;
} else {
#ifndef DEBUG
[CodePush clearUpdates];
#endif
NSLog(logMessageFormat, binaryJsBundleUrl);
return binaryJsBundleUrl;
}