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

Commit ca965f4

Browse files
committed
Comment change
1 parent e02c06a commit ca965f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CodePush.ios.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
210210
}
211211
else if (syncOptions.updateDialog) {
212212
// updateDialog supports any truthy value (e.g. true, "goo", 12),
213-
// but when we merge it's properties with the default dialog's
214-
// properties, it needs to be an object
213+
// but we should treat a non-object value as just the default dialog
215214
if (typeof syncOptions.updateDialog !== "object") {
216215
syncOptions.updateDialog = CodePush.DEFAULT_UPDATE_DIALOG;
217216
} else {

0 commit comments

Comments
 (0)