Clean up unused code

This commit is contained in:
Dirk Baeumer
2017-11-08 11:00:22 +01:00
parent fe12f6de69
commit ba02906456
6 changed files with 11 additions and 49 deletions

View File

@@ -1131,8 +1131,6 @@ export enum TaskPanelKind {
export class TaskGroup implements vscode.TaskGroup {
private _id: string;
// @ts-ignore unused property
private _label: string;
public static Clean: TaskGroup = new TaskGroup('clean', 'Clean');
@@ -1142,15 +1140,14 @@ export class TaskGroup implements vscode.TaskGroup {
public static Test: TaskGroup = new TaskGroup('test', 'Test');
constructor(id: string, label: string) {
constructor(id: string, _label: string) {
if (typeof id !== 'string') {
throw illegalArgument('name');
}
if (typeof label !== 'string') {
if (typeof _label !== 'string') {
throw illegalArgument('name');
}
this._id = id;
this._label = label;
}
get id(): string {