mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
* use glob on tasks otherwise fallback to default * add support for test commands also * try to find one globbed task otherwise fallback to defaults * - get relativePath (but fallback to absolute if outside of workspace) - bring back json schema * Refactor and reduce duplicate code * remove glob, make isDefault a string or boolean * update taskConfig * - rebase - type updates - splitPerGroupType should check explicitly for true on isDefault - hygiene check * Remove task glob from API * Task group DTO updates * Make sure globs run ahead of default task if there's multiple globs matching * Style and name changes * More naming and code re-use * Glob doesn't work when only 1 glob match Co-authored-by: Alex Ross <alros@microsoft.com>
This commit is contained in:
@@ -320,7 +320,7 @@ export namespace TaskDTO {
|
||||
result.group = types.TaskGroup.from(value.group._id);
|
||||
if (result.group && value.group.isDefault) {
|
||||
result.group = new types.TaskGroup(result.group.id, result.group.label);
|
||||
if (value.group.isDefault) {
|
||||
if (value.group.isDefault === true) {
|
||||
result.group.isDefault = value.group.isDefault;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user