Skip to content

Commit 8266a75

Browse files
Sourabh DebnathLakshminarasimhan ks
authored andcommitted
Update CodePush.js
1 parent 70e4715 commit 8266a75

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
@@ -435,7 +435,7 @@ async function downloadAndInstall(update) {
435435
* We are converting bundleNumber into packageHash. In future,
436436
* we can remove its use by any other solution
437437
*/
438-
update.packageHash = update.bundleNumber.toString();
438+
update.packageHash = update.bundleNumber + '';
439439
return await doDownloadAndInstall();
440440
} catch(error) {
441441
syncStatusChangeCallback(CodePush.SyncStatus.UNKNOWN_ERROR);

0 commit comments

Comments
 (0)