File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ export class InitService implements IInitService {
47
47
projectData [ this . $staticConfig . CLIENT_NAME_KEY_IN_PROJECT_FILE ] [ "id" ] = this . getProjectId ( ) . wait ( ) ;
48
48
49
49
if ( this . $options . frameworkName && this . $options . frameworkVersion ) {
50
- projectData [ this . $staticConfig . CLIENT_NAME_KEY_IN_PROJECT_FILE ] [ this . $options . frameworkName ] = this . buildVersionData ( this . $options . frameworkVersion ) ;
50
+ let currentPlatformData = projectData [ this . $staticConfig . CLIENT_NAME_KEY_IN_PROJECT_FILE ] [ this . $options . frameworkName ] || { } ;
51
+
52
+ projectData [ this . $staticConfig . CLIENT_NAME_KEY_IN_PROJECT_FILE ] [ this . $options . frameworkName ] = _ . extend ( currentPlatformData , this . buildVersionData ( this . $options . frameworkVersion ) ) ;
51
53
} else {
52
54
let $platformsData = this . $injector . resolve ( "platformsData" ) ;
53
55
_ . each ( $platformsData . platformsNames , platform => {
You can’t perform that action at this time.
0 commit comments