Skip to content

Commit a3850dc

Browse files
chore: delete unused progress-indicator
1 parent 3a3d3bf commit a3850dc

File tree

4 files changed

+0
-58
lines changed

4 files changed

+0
-58
lines changed

lib/common/bootstrap.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ $injector.require("childProcess", "./child-process");
2727
$injector.require("prompter", "./prompter");
2828
$injector.require("projectHelper", "./project-helper");
2929
$injector.require("pluginVariablesHelper", "./plugin-variables-helper");
30-
$injector.require("progressIndicator", "./progress-indicator");
3130

3231
$injector.requireCommand(["help", "/?"], "./commands/help");
3332
$injector.requireCommand("usage-reporting", "./commands/analytics");

lib/common/declarations.d.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,20 +1281,6 @@ interface IServiceContractGenerator {
12811281
generate(definitionsPath?: string): Promise<IServiceContractClientCode>;
12821282
}
12831283

1284-
/**
1285-
* Used to show indication that a process is running
1286-
*/
1287-
interface IProgressIndicator {
1288-
/**
1289-
* Prints indication that a process is running
1290-
* @param {Promise<T>} promise process
1291-
* @param {number} timeout time interval for printing indication
1292-
* @param {boolean} options whether to surpress the trailing new line printed after the process ends
1293-
* @return {Promise<T>}
1294-
*/
1295-
showProgressIndicator<T>(promise: Promise<T>, timeout: number, options?: { surpressTrailingNewLine?: boolean }): Promise<T>;
1296-
}
1297-
12981284
/**
12991285
* Describes project file that should be livesynced
13001286
*/

lib/common/progress-indicator.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

test/plugins-service.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@ function createTestInjector() {
107107
showCommandLineHelp: async (): Promise<void> => (undefined)
108108
});
109109
testInjector.register("settingsService", SettingsService);
110-
testInjector.register("progressIndicator", {
111-
getSpinner: (msg: string) => ({
112-
start: (): void => undefined,
113-
stop: (): void => undefined,
114-
message: (): void => undefined
115-
})
116-
});
117110
testInjector.register("httpClient", {});
118111
testInjector.register("extensibilityService", {});
119112
testInjector.register("androidPluginBuildService", stubs.AndroidPluginBuildServiceStub);

0 commit comments

Comments
 (0)