@@ -24,7 +24,6 @@ export class PlatformService extends EventEmitter implements IPlatformService {
24
24
constructor ( private $devicesService : Mobile . IDevicesService ,
25
25
private $preparePlatformNativeService : IPreparePlatformService ,
26
26
private $preparePlatformJSService : IPreparePlatformService ,
27
- private $progressIndicator : IProgressIndicator ,
28
27
private $errors : IErrors ,
29
28
private $fs : IFileSystem ,
30
29
private $logger : ILogger ,
@@ -40,7 +39,8 @@ export class PlatformService extends EventEmitter implements IPlatformService {
40
39
private $npm : INodePackageManager ,
41
40
private $devicePlatformsConstants : Mobile . IDevicePlatformsConstants ,
42
41
private $projectChangesService : IProjectChangesService ,
43
- private $analyticsService : IAnalyticsService ) {
42
+ private $analyticsService : IAnalyticsService ,
43
+ private $terminalSpinnerService : ITerminalSpinnerService ) {
44
44
super ( ) ;
45
45
}
46
46
@@ -115,7 +115,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
115
115
npmOptions [ "version" ] = version ;
116
116
}
117
117
118
- const spinner = this . $progressIndicator . getSpinner ( "Installing " + packageToInstall ) ;
118
+ const spinner = this . $terminalSpinnerService . createSpinner ( ) ;
119
119
const projectDir = projectData . projectDir ;
120
120
const platformPath = path . join ( projectData . platformsDir , platform ) ;
121
121
0 commit comments