This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -114,16 +114,6 @@ function log(message) {
114
114
console . log ( `[CodePush] ${ message } ` )
115
115
}
116
116
117
- function setDeploymentKey ( deploymentKey ) {
118
- return NativeCodePush . setDeploymentKey ( deploymentKey )
119
- . then ( ( ) => {
120
- // Mark the local copy of the config data
121
- // as invalid since we just modified it
122
- // on the native end.
123
- isConfigValid = false ;
124
- } ) ;
125
- }
126
-
127
117
var testConfig ;
128
118
var testSdk ;
129
119
Original file line number Diff line number Diff line change 1
- var extend = require ( "extend" ) ;
2
1
var { NativeAppEventEmitter } = require ( "react-native" ) ;
3
2
4
3
module . exports = ( NativeCodePush ) => {
@@ -25,7 +24,7 @@ module.exports = (NativeCodePush) => {
25
24
return NativeCodePush . downloadUpdate ( this )
26
25
. then ( ( downloadedPackage ) => {
27
26
downloadProgressSubscription && downloadProgressSubscription . remove ( ) ;
28
- return extend ( { } , downloadedPackage , local ) ;
27
+ return Object . assign ( { } , downloadedPackage , local ) ;
29
28
} )
30
29
. catch ( ( error ) => {
31
30
downloadProgressSubscription && downloadProgressSubscription . remove ( ) ;
You can’t perform that action at this time.
0 commit comments