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

Commit 347771c

Browse files
committed
Fixing assign regression
1 parent c328e94 commit 347771c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodePush.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function sync(options = {}, syncStatusChangeCallback, downloadProgressCallback)
218218
if (typeof syncOptions.updateDialog !== "object") {
219219
syncOptions.updateDialog = CodePush.DEFAULT_UPDATE_DIALOG;
220220
} else {
221-
syncOptions.updateDialog = Object.assign(CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
221+
syncOptions.updateDialog = Object.assign({}, CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
222222
}
223223

224224
var message = null;

0 commit comments

Comments
 (0)