mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 08:04:23 +08:00
Adding braces
This commit is contained in:
@@ -114,8 +114,9 @@ public class CodePushTelemetryManager {
|
||||
|
||||
public void recordStatusReported(ReadableMap statusReport) {
|
||||
// We don't need to record rollback reports, so exit early if that's what was specified.
|
||||
if (statusReport.hasKey(STATUS_KEY) && DEPLOYMENT_FAILED_STATUS.equals(statusReport.getString(STATUS_KEY)))
|
||||
if (statusReport.hasKey(STATUS_KEY) && DEPLOYMENT_FAILED_STATUS.equals(statusReport.getString(STATUS_KEY))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (statusReport.hasKey(APP_VERSION_KEY)) {
|
||||
saveStatusReportedForIdentifier(statusReport.getString(APP_VERSION_KEY));
|
||||
|
||||
Reference in New Issue
Block a user