@@ -24,7 +24,6 @@ export class PlatformService extends EventEmitter implements IPlatformService {
2424 constructor ( private $devicesService : Mobile . IDevicesService ,
2525 private $preparePlatformNativeService : IPreparePlatformService ,
2626 private $preparePlatformJSService : IPreparePlatformService ,
27- private $progressIndicator : IProgressIndicator ,
2827 private $errors : IErrors ,
2928 private $fs : IFileSystem ,
3029 private $logger : ILogger ,
@@ -40,7 +39,8 @@ export class PlatformService extends EventEmitter implements IPlatformService {
4039 private $npm : INodePackageManager ,
4140 private $devicePlatformsConstants : Mobile . IDevicePlatformsConstants ,
4241 private $projectChangesService : IProjectChangesService ,
43- private $analyticsService : IAnalyticsService ) {
42+ private $analyticsService : IAnalyticsService ,
43+ private $terminalSpinnerService : ITerminalSpinnerService ) {
4444 super ( ) ;
4545 }
4646
@@ -115,7 +115,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
115115 npmOptions [ "version" ] = version ;
116116 }
117117
118- const spinner = this . $progressIndicator . getSpinner ( "Installing " + packageToInstall ) ;
118+ const spinner = this . $terminalSpinnerService . createSpinner ( ) ;
119119 const projectDir = projectData . projectDir ;
120120 const platformPath = path . join ( projectData . platformsDir , platform ) ;
121121
0 commit comments