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

Commit a981a76

Browse files
committed
feedback
1 parent 9b87d7e commit a981a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodePush.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ async function sync(options = {}, syncStatusChangeCallback, downloadProgressCall
209209
if (typeof syncOptions.updateDialog !== "object") {
210210
syncOptions.updateDialog = CodePush.DEFAULT_UPDATE_DIALOG;
211211
} else {
212-
syncOptions.updateDialog = Object.assign({}, CodePush.DEFAULT_UPDATE_DIALOG, syncOptions.updateDialog);
212+
syncOptions.updateDialog = { ...CodePush.DEFAULT_UPDATE_DIALOG, ...syncOptions.updateDialog };
213213
}
214214

215215
return await new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)