1750
return result;
1751
}
1752
>
const defaultBuildTask: { task: Tasks.Task | undefined; rank: number } = { task: undefined, rank: -1 };
taskConfiguration.ts
1753
>
const defaultTestTask: { task: Tasks.Task | undefined; rank: number } = { task: undefined, rank: -1 };
1754
>
const schema2_0_0: boolean = context.schemaVersion === Tasks.JsonSchemaVersion.V2_0_0;
1755
>
const baseLoadIssues = Objects.deepClone(context.taskLoadIssues);
1756
>
for (let index = 0; index < externals.length; index++) {
1757
>
const external = externals[index];
1758
>
const definition = external.type ? registry?.get?.(external.type) || TaskDefinitionRegistry.get(external.type) : undefined;
1759
>
let typeNotSupported: boolean = false;
1760
>
if (definition && definition.when && !context.contextKeyService.contextMatchesRules(definition.when)) {
1761
typeNotSupported = true;
1763
for (const key of Object.keys(builtinTypeContextMap)) {
1764
if (external.type === key) {