Add task provider enabled check back in
This commit is contained in:
parent
f3d35c5926
commit
319d2458d0
|
@ -776,7 +776,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
|
||||||
const types: string[] = [];
|
const types: string[] = [];
|
||||||
if (this.isProvideTasksEnabled()) {
|
if (this.isProvideTasksEnabled()) {
|
||||||
for (const definition of TaskDefinitionRegistry.all()) {
|
for (const definition of TaskDefinitionRegistry.all()) {
|
||||||
types.push(definition.taskType);
|
if (this.isTaskProviderEnabled(definition.taskType)) {
|
||||||
|
types.push(definition.taskType);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return types;
|
return types;
|
||||||
|
|
Loading…
Reference in a new issue