File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ export class PlatformService implements IPlatformService {
575
575
let platformDir = path . join ( this . $projectData . platformsDir , platform ) ;
576
576
this . $fs . deleteDirectory ( platformDir ) ;
577
577
this . $projectDataService . removeProperty ( platformData . frameworkPackageName ) ;
578
- this . $npm . uninstall ( platformData . frameworkPackageName , { "save-dev" : true } )
578
+ this . $npm . uninstall ( platformData . frameworkPackageName , { "save-dev" : true } ) ;
579
579
580
580
this . $logger . out ( `Platform ${ platform } successfully removed.` ) ;
581
581
} ) ;
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ export class PluginsService implements IPluginsService {
277
277
let platformData = this . $platformsData . getPlatformData ( platform ) ;
278
278
this . $projectDataService . initialize ( this . $projectData . projectDir ) ;
279
279
let version = this . $projectDataService . getValue ( platformData . frameworkPackageName , constants . DEV_DEPENDENCIES ) ;
280
- return version
280
+ return version ;
281
281
}
282
282
283
283
private isPluginDataValidForPlatform ( pluginData : IPluginData , platform : string ) : boolean {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export class ProjectDataService implements IProjectDataService {
21
21
public getValue ( propertyName : string , key ?: string ) : any {
22
22
this . loadProjectFile ( ) ;
23
23
let rootKey : string = this . $staticConfig . CLIENT_NAME_KEY_IN_PROJECT_FILE ;
24
- if ( key ) {
24
+ if ( key ) {
25
25
rootKey = key ;
26
26
}
27
27
return this . projectData ? this . projectData [ rootKey ] [ propertyName ] : null ;
You can’t perform that action at this time.
0 commit comments