File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -3,40 +3,41 @@ matrix:
33 - stage : " Lint"
44 language : node_js
55 os : linux
6- node_js : " 8 "
6+ node_js : " 10 "
77 script : cd src && npm run ci.tslint
88 - stage : " WebPack, Build"
99 os : osx
1010 env :
1111 - WebPack="iOS"
12- osx_image : xcode10.0
12+ osx_image : xcode10.2
1313 language : node_js
14- node_js : " 8 "
14+ node_js : " 10 "
1515 jdk : oraclejdk8
16+ before_script : pod repo update
1617 script : cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
1718 - language : android
1819 os : linux
1920 env :
2021 - WebPack="Android"
22+ dist : trusty
2123 jdk : oraclejdk8
22- before_install : nvm install 8
24+ before_install : nvm install 10
2325 script : cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
2426 - language : android
2527 env :
2628 - BuildAndroid="28"
2729 os : linux
2830 jdk : oraclejdk8
29- before_install : nvm install stable
31+ dist : trusty
32+ before_install : nvm install 10
3033 script :
3134 - cd src && npm i && npm run tsc && cd ../demo && tns build android
3235 - os : osx
33- env :
34- - BuildiOS="12"
35- - Xcode="10.0"
36- osx_image : xcode10.0
36+ osx_image : xcode10.2
3737 language : node_js
38- node_js : " 8 "
38+ node_js : " 10 "
3939 jdk : oraclejdk8
40+ before_script : pod repo update
4041 script :
4142 - cd src && npm i && npm run tsc && cd ../demo && tns build ios
4243
Original file line number Diff line number Diff line change @@ -160,13 +160,12 @@ export function request(opts: Https.HttpsRequestOptions): Promise<Https.HttpsRes
160160 let dict = null ;
161161 if ( opts . body ) {
162162 let cont = opts . body ;
163- if ( Array . isArray ( cont ) ) {
164- dict = NSMutableArray . new ( ) ;
165- cont . forEach ( function ( item , idx ) {
166- dict . addObject ( item ) ;
167- } ) ;
168- }
169- else if ( isObject ( cont ) ) {
163+ if ( Array . isArray ( cont ) ) {
164+ dict = NSMutableArray . new ( ) ;
165+ cont . forEach ( function ( item , idx ) {
166+ dict . addObject ( item ) ;
167+ } ) ;
168+ } else if ( isObject ( cont ) ) {
170169 dict = NSMutableDictionary . new < string , any > ( ) ;
171170 Object . keys ( cont ) . forEach ( key => dict . setValueForKey ( cont [ key ] as any , key ) ) ;
172171 }
You can’t perform that action at this time.
0 commit comments