mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-19 06:39:55 +01:00
@@ -576,7 +576,8 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
|
||||
if (!values) {
|
||||
return undefined;
|
||||
}
|
||||
return values.find(task => task.matches(key, compareId));
|
||||
values = values.filter(task => task.matches(key, compareId)).sort(task => task._source.kind === TaskSourceKind.Extension ? 1 : -1);
|
||||
return values.length > 0 ? values[0] : undefined;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user