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

Commit f10eb7e

Browse files
committed
Adding braces
1 parent c0c32ba commit f10eb7e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

android/app/src/main/java/com/microsoft/codepush/react/CodePushTelemetryManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ public WritableMap getUpdateReport(WritableMap currentPackage) {
114114

115115
public void recordStatusReported(ReadableMap statusReport) {
116116
// 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))) {
118118
return;
119+
}
119120

120121
if (statusReport.hasKey(APP_VERSION_KEY)) {
121122
saveStatusReportedForIdentifier(statusReport.getString(APP_VERSION_KEY));

ios/CodePush/CodePushTelemetryManager.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ + (NSDictionary *)getUpdateReport:(NSDictionary *)currentPackage
102102
+ (void)recordStatusReported:(NSDictionary *)statusReport
103103
{
104104
// 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]]) {
106106
return;
107+
}
107108

108109
if (statusReport[AppVersionKey]) {
109110
[self saveStatusReportedForIdentifier:statusReport[AppVersionKey]];

0 commit comments

Comments
 (0)