This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,9 @@ public WritableMap getUpdateReport(WritableMap currentPackage) {
114
114
115
115
public void recordStatusReported (ReadableMap statusReport ) {
116
116
// We don't need to record rollback reports, so exit early if that's what was specified.
117
- if (statusReport .hasKey (STATUS_KEY ) && DEPLOYMENT_FAILED_STATUS .equals (statusReport .getString (STATUS_KEY )))
117
+ if (statusReport .hasKey (STATUS_KEY ) && DEPLOYMENT_FAILED_STATUS .equals (statusReport .getString (STATUS_KEY ))) {
118
118
return ;
119
+ }
119
120
120
121
if (statusReport .hasKey (APP_VERSION_KEY )) {
121
122
saveStatusReportedForIdentifier (statusReport .getString (APP_VERSION_KEY ));
Original file line number Diff line number Diff line change @@ -102,8 +102,9 @@ + (NSDictionary *)getUpdateReport:(NSDictionary *)currentPackage
102
102
+ (void )recordStatusReported : (NSDictionary *)statusReport
103
103
{
104
104
// We don't need to record rollback reports, so exit early if that's what was specified.
105
- if ([DeploymentFailed isEqualToString: statusReport[StatusKey]])
105
+ if ([DeploymentFailed isEqualToString: statusReport[StatusKey]]) {
106
106
return ;
107
+ }
107
108
108
109
if (statusReport[AppVersionKey]) {
109
110
[self saveStatusReportedForIdentifier: statusReport[AppVersionKey]];
You can’t perform that action at this time.
0 commit comments