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