Skip to content

Commit e2071d4

Browse files
committed
Share progress indicator between the CLIs
See NativeScript/nativescript-cli#1294
1 parent 04fc27f commit e2071d4

File tree

4 files changed

+1
-44
lines changed

4 files changed

+1
-44
lines changed

lib/bootstrap.ts

-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ $injector.require("hostCapabilities", "./host-capabilities");
187187

188188
$injector.require("commandsServiceProvider", "./providers/commands-service-provider");
189189
$injector.require("deviceLogProvider", "./common/mobile/device-log-provider");
190-
$injector.require("progressIndicator", "./progress-indicator");
191190

192191
$injector.require("projectCommandsService", "./services/project-commands-service");
193192

lib/declarations.d.ts

-14
Original file line numberDiff line numberDiff line change
@@ -852,20 +852,6 @@ interface IAppManagerService {
852852
getGroups(): IFuture<void>;
853853
}
854854

855-
/**
856-
* Used to show indication that a process is running
857-
*/
858-
interface IProgressIndicator {
859-
/**
860-
* Prints indication that a process is running
861-
* @param {IFuture<any>} future process
862-
* @param {number} timeout time interval for printing indication
863-
* @param {boolean} options whether to surpress the trailing new line printed after the process ends
864-
* @return {IFuture<void>}
865-
*/
866-
showProgressIndicator(future: IFuture<any>, timeout: number, options?: { surpressTrailingNewLine?: boolean }): IFuture<void>;
867-
}
868-
869855
interface IDynamicSubCommandInfo {
870856
baseCommandName: string;
871857
filePath: string;

lib/progress-indicator.ts

-28
This file was deleted.

0 commit comments

Comments
 (0)